Description Usage Arguments Value See Also Examples
Divide the columns of a data frame by the groups defined in FACTOR
,
apply the function FUN
to each subgroup and then join the resulting
vectors in a new data frame.
1 | split_apply(X, FUN, FACTOR, SEP = ".", ...)
|
X |
An object coercible to data frame. |
FUN |
A function that receives a data frame and returns a vector. |
FACTOR |
A <e2><80><98>factor<e2><80><99> in the sense that |
SEP |
String to construct the new level labels by joining the
constituent ones. Defaults to |
... |
Optional arguments to |
A data frame, result of the split-apply-combine process.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.