not.row.names {str2str}R Documentation

Identify Elements That are Not Row.names

Description

not.row.names identifies which elements from nm are not row.names of x. If all elements are row.names, then a character vector of length 0 is returned.

Usage

not.row.names(x, nm)

Arguments

x

object with a row.names attribute

nm

character vector specifying the elements to test as row.names of x.

Value

character vector containing the elements of nm that are not row.names of x.

Examples

not.row.names(x = mtcars, nm = c("Mazda RX4","mazda RX4"))

[Package str2str version 1.0.0 Index]