View source: R/core-out-rfourier.R
rfourier_i | R Documentation |
rfourier_i
uses the inverse radii variation (equally spaced radii) transformation to
calculate a shape, when given a list with Fourier coefficients, typically
obtained computed with rfourier.
rfourier_i(rf, nb.h, nb.pts = 120)
rf |
A |
nb.h |
|
nb.pts |
|
See the JSS paper for the maths behind.
A list with components:
x |
|
y |
|
angle |
|
r |
|
Directly borrowed for Claude (2008), and called ifourier1
there.
Claude, J. (2008) Morphometrics with R, Use R! series, Springer 316 pp.
Other rfourier:
rfourier_shape()
,
rfourier()
data(bot)
coo <- coo_center(bot[1]) # centering is almost mandatory for rfourier family
coo_plot(coo)
rf <- rfourier(coo, 12)
rf
rfi <- rfourier_i(rf)
coo_draw(rfi, border='red', col=NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.