Description Usage Arguments Value
View source: R/fc_common_utils.R
Make data and vector same length/nrow as other vector. Remove entries from data and a until a is the same length as b. By checking if a[i] == b[i] until you find one that isn't.
1 | fccu_match_rows(a, b, data)
|
a |
A vector to be trimmed, must be from data as well (say, rownames()). |
b |
The vector of shorter length that you want length(a) and nrow(data) to be. |
data |
Some data frame you want trimmed. |
A trimmed data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.