Learn R Programming

Momocs (version 1.0.0)

chop: Chops (rough slicing) Momocs objects

Description

Rougher slicing that accepts a classifier ie a column name from the $fac on Momocs classes. Returns a named (after every level) list that can be lapply-ed and combined. See examples.

Usage

chop(.data, fac)

Arguments

.data
a Coo or Coe object
fac
a column name from the $fac

Value

a named list of Coo or Coe objects

See Also

Other handling functions: arrange, at_least, combine, dissolve, filter, mutate, rename, rm_uncomplete, rw_rule, sample_frac, sample_n, select, slice, subset.Coo, transmute

Examples

Run this code
data(bot)

Run the code above in your browser using DataLab