powered by
whichNames
which.names
which.names(names, object) whichNames(...)
names
object
which.names(c('minister', 'conductor'), Duncan) ## [1] 6 16
Run the code above in your browser using DataLab