partition: Partition

Description Usage Arguments Value

View source: R/partition.R

Description

This creates a recursive list by splitting a dataframe sequencially by the provided columns.

Usage

1
partition(df, cols, drop = TRUE)

Arguments

df

data

cols

character vector of columns to split the dataframe.

drop

logical. When splitting dataframes should the factors not in the dataset be dropped? default = TRUE.

Value

recursive list


cadenceinc/yolanda documentation built on Sept. 15, 2020, 5:20 a.m.