Learn R Programming

Momocs (version 1.4.1)

rm_harm: 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)

Value

a Momocs object of same class

Arguments

x

Coe object

drop

numeric number of harmonics to drop

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

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

Run the code above in your browser using DataLab