powered by
not.rownames identifies which elements from nm are not rownames of x. If all elements are rownames, then a character vector of length 0 is returned.
not.rownames
nm
x
not.rownames(x, nm)
character vector containing the elements of nm that are not rownames of x.
object with a rownames attribute
character vector specifying the elements to test as rownames of x.
not.rownames(x = as.matrix(mtcars), nm = c("Mazda RX4","mazda RX4"))
Run the code above in your browser using DataLab