splitByLevel: Split by factor level

splitByLevelR Documentation

Split by factor level

Description

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.

See Also

  • split()

  • dplyr::group_split()

Examples

showMethods("splitByLevel")

acidgenomics/AcidGenerics documentation built on April 9, 2024, 1:29 a.m.