rm_harm {Momocs}R Documentation

Removes harmonics from Coe objects

Description

Useful to drop harmonics on Coe objects. Should only work for Fourier-based approached since it looks for [A-D][1-drop] pattern.

Usage

rm_harm(x, drop = 1)

Arguments

x

Coe object

drop

numeric number of harmonics to drop

Value

a Momocs object of same class

See Also

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

Examples

data(bot)
bf <- efourier(bot)
colnames(rm_harm(bf, 1)$coe)

[Package Momocs version 1.4.1 Index]