splitgroup: Split by groups
Description
Split by groups
Usage
splitgroup(df, group, named = FALSE, name.list = NA)
Arguments
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