Learn R Programming

Momocs (version 1.0.0)

dissolve: Dissolves Coe objects

Description

the opposite of combine, typically used after it. Note that the $fac slot may be wrong since combine...well combines... this $fac. See examples.

Usage

dissolve(x, retain)

Arguments

x
a Coe object
retain
the partition id to retain. Or their name if the partitions are named (see x$method) eg after a chop

See Also

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

Examples

Run this code
data(bot)
w <- filter(bot, type=="whisky")
b <- filter(bot, type=="beer")
wf <- efourier(w, 10)
bf <- efourier(b, 10)
wbf <- combine(wf, bf)
dissolve(wbf, 1)
dissolve(wbf, 2)

Run the code above in your browser using DataLab