splitgroup: Split by groups

View source: R/split_group.R

splitgroupR 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


Jo-Karl/ccpsyc documentation built on Oct. 15, 2022, 3:20 p.m.