splitgroup {ccpsyc} | R Documentation |
Split by groups
Description
Split by groups
Usage
splitgroup(df, group, named = FALSE, name.list = NA)
Arguments
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 |
Value
Returns a list of dataframes with only the selected groups
[Package ccpsyc version 0.2.6 Index]