Usage
rfourier(coo, nb.h = 32, smooth.it = 0)
rfourier.i(rf, nb.pts=300, nb.h=length(rf$an))
rfourier.shape(an, bn, nb.h, nb.pts=80, alpha=2, plot=TRUE)
Arguments
coo
A list
or matrix
of coordinates.
nb.h
integer
. The number of harmonics to calculate/use.
smooth.it
integer
. The number of smoothing iterations to perform.
rf
A list
with ao
, an
and bn
components, typically as returned by rfourier
.
an
numeric
. A vector
of harmonic coefficient(s).
bn
numeric
. A vector
of harmonic coefficient(s).
nb.pts
integer
. The number of points to calculate.
alpha
numeric
. The power coefficient associated with the (usually decreasing) amplitude of the Fourier coefficients (see the Details section in efourier).plot
logical
. Whether to plot the shape or only return the list of coordinates.