rm_harm: Removes harmonics from Coe objects

View source: R/cl-handling.R

rm_harmR 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)

vbonhomme/Momocs documentation built on Nov. 13, 2023, 8:54 p.m.