Description Usage Arguments See Also Examples
Splits a data frame across all combinations of 1-3 independent
variables and then assigns the new data frames to the Global Environment.
The function delegates the primary computations to split
.
1 | wrap.split(df, iv1, iv2 = NULL, iv3 = NULL)
|
df |
The data frame that you intend to split |
iv1, iv2, iv3 |
Names of the columns containing the independent variables |
1 2 3 4 5 | ## Splitting a data frame by 1 independent variable
wrap.split(df = bdata, iv1 = IV1)
## Splitting a data frame by 2 independent variables
wrap.split(df = bdata, iv1 = IV1, iv2 = IV2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.