Description Usage Arguments Value
Function removes rows from input data frame d, returning a data frame without them
1 | remove_rows(d, funcList, inds = NULL)
|
d |
Input data frame needing rows removed |
funcList |
a list of functions. Each takes a whole dataframe, and returns a vector of indices detailing which rows to remove. |
inds |
A vector of indexes to consider for removal. Useful for guaranteeing that id info won't be removed etc. The final list of rows to remove is intersected with this list. This can also be a function that is called with the data frame d, and returns a vector of indices (such as the 'span' function above). |
The input data frame d
but missing the unwanted rows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.