Description Usage Arguments Value Examples
View source: R/manipulate_data.R
Select rows from a data frame using a character vector or a numeric vector
1 2 |
df |
A data frame |
rowchars |
A character vector of row names (default: c()) |
rownumbs |
A vector containing the row numbers of the rows to be chosen (default: c()) |
complete_names |
Boolean determining if the entered strings are exact row names (rather than fragments of row names) (default: TRUE) |
df_order |
Boolean that determines if the rows selected are returned in
the order they appear in |
print.rownames |
Boolean determining if selected row names should be printed upon completion (default: FALSE) |
print.rownumbs |
Boolean determining if selected row numbers should be printed upon completion (default: FALSE) |
The rows from df
whose names match the character
vector rowchars
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.