Description Usage Arguments Value
Splits the input data frame using a grouping column, applies the provided function over each list element and return the row-binded resulting data frame.
1 | splitFunMerge(df, splitCol, fun, addSplitCol = FALSE)
|
df |
Data frame to process. |
splitCol |
Column to split by. |
fun |
Function to be applied to each sub-data frame. |
addSplitCol |
Include a column with splitting variable id? |
The processed data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.