Description Usage Arguments Value Examples
View source: R/utility_functions.R
Split
creates a list-column dataframe for ease of
analytics. The 'Data' column contains the results of
split
.
1 |
data |
A dataframe to be subsetted (optional) & split accordingly. |
subset |
A Boolean expression evaluated in 'data'. |
vars |
Desired field names (not quoted) in 'data'. |
splitVars |
Field names (or names) in 'data' on which to split. |
drop |
Logical. Default FALSE (should non-ocurring levels be dropped). |
A data.frame with 'Data' as a list column along with fields in 'splitVars'. Row count based on 'splitVars'.
1 | # coming soon
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.