group | R Documentation |
Combines data.frame groups into a unique one
group(df, collapse = ".", keepNAlevels = FALSE, ...)
df |
a data.frame whose columns represent grouping factor. |
collapse |
a string used to collapse groups levels. |
keepNAlevels |
whether to keep NA levels resulting from groups merging |
... |
other arguments to be passed. |
a named list containing row indices of grouping combinations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.