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/bioverbs documentation built on April 7, 2024, 7:14 a.m.