Momocs (version 1.3.2)

at_least: Retain groups with at least n shapes

Description

Examples are self-speaking.

Usage

at_least(x, fac, N)

Arguments

x

any Momocs object

fac

the id of name of the $fac column

N

minimal number of individuals to retain the group

See Also

Other handling functions: arrange(), chop(), combine(), dissolve(), fac_dispatcher(), filter(), mutate(), rename(), rescale(), rm_harm(), rm_missing(), rm_uncomplete(), rw_fac(), sample_frac(), sample_n(), select(), slice(), subsetize()

Examples

Run this code
# NOT RUN {
table(trilo$onto)
at_least(trilo, "onto", 9)
at_least(trilo, "onto", 16)
at_least(trilo, "onto", 2000) # too ambitious !
# }

Run the code above in your browser using DataLab