dissolve | R Documentation |
the opposite of combine, typically used after it. Note that the $fac
slot may be wrong since
combine...well combines... this $fac
. See examples.
dissolve(x, retain)
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 |
a Momocs object of same class
Other handling functions:
arrange()
,
at_least()
,
chop()
,
combine()
,
fac_dispatcher()
,
filter()
,
mutate()
,
rename()
,
rescale()
,
rm_harm()
,
rm_missing()
,
rm_uncomplete()
,
rw_fac()
,
sample_frac()
,
sample_n()
,
select()
,
slice()
,
subsetize()
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)
# or using chop (yet combine here makes no sense)
bw <- bot %>% chop(~type) %>% lapply(efourier, 10) %>% combine
bw %>% dissolve(1)
bw %>% dissolve(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.