
Last chance! 50% off unlimited learning
Sale ends in
Return a subset of rows for a matrix or data frame
SubsetRow(data, code, invert = FALSE)
Matrix or data frame with row names
Pattern for matching within row names
Invert the search?
Returns a subset of data. If invert = TRUE, returns data where rownames do not contain code, otherwise returns data where rownames contain code