Learn R Programming

Momocs (version 0.2-03)

tFourier: Calculates tangent angle analysis on Coo objects.

Description

tFourier performs a tangent angle Fourier analysis on a Coo-class object, with the specified parameters (number of harmonics and number of smoothing iterations) and returns a Coe-class object containing harmonic coefficients (usually normalized). It accepts the same arguments as the function efourier.

Usage

tFourier(Coo, nb.h= 40, smooth.it = 0, norm=TRUE)

Arguments

Coo
The Coo object.
nb.h
integer. The number of harmonics to calculate/use.
smooth.it
integer. The number of smoothing iterations to perform.
norm
logical. Whether to scale the outlines so that the mean length of the radii used equals 1.

See Also

See tfourier for the mathematical background.

Examples

Run this code
data(bot)
tFourier(bot)

Run the code above in your browser using DataLab