These functions return the indices of the supplied row names of a data frame
or names of another object, such as a vector or list. whichNames is just an alias for which.names.
Usage
whichNames(names, object, ...)
which.names(names, object, ...)
# S3 method for data.frame
whichNames(names, object, ...)
# S3 method for default
whichNames(names, object, ...)
Value
Returns the index or indices of names in row names of the data frame or names of an object of another class.