splitgroup | R Documentation |
Split by groups
splitgroup(df, group, named = FALSE, name.list = NA)
df |
Dataframe |
group |
Variable from the dataset that defines the groups |
named |
TRUE/FALSE argument wheter the resulting list should be named |
name.list |
Supply a list of names same length as number of groups |
Returns a list of dataframes with only the selected groups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.