Skip to contents

Split by factor level

Usage

splitByLevel(x, f, ref = FALSE, ...)

Arguments

x

Object.

f

character(1). Factor column name.

ref

logical(1). Include the reference factor level (i.e. first defined) in each split. Useful for pairwise contrasts.

...

Additional arguments.

Value

list

List of data frames split by factors.

Examples

showMethods("splitByLevel")
#> Function: splitByLevel (package AcidGenerics)
#> <No methods>
#>