Learn R Programming

bdots (version 1.2.5)

split.bdotsObj: Split object of class bdotsObj

Description

Analogous to other splitting functions, but retains necessary attributes across the split object. As of now, it can only be unsplit with bdots::rbindlist

Usage

# S3 method for bdotsObj
split(x, f, drop = FALSE, by, ...)

Arguments

x

Object of class bdotsObj

f

For consistency with generic, but is not used

drop

logical. Default FALSE will not drop empty list elements caused by factor levels not referred by that factor. Analagous to data.table::split

by

Character vector of column names on which to split. Usually will be Subject or one of the fitted groups

...

not used