which.names

0th

Percentile

Position of Row Names

This function returns the indices of row names in a data frame or a vector of names.

Keywords
utilities
Usage
which.names(names, object)
Arguments
names
a name or character vector of names.
object
a data frame or character vector of (row) names.
Value

  • Returns the index or indices of names within object.

Aliases
  • which.names
Examples
data(Duncan)
which.names(c('minister', 'conductor'), Duncan)
## [1]  6 16
Documentation reproduced from package car, version 1.0-18, License: GPL version 2 or newer

Community examples

Looks like there are no examples yet.