View source: R/core-out-tfourier.R
tfourier_shape | R Documentation |
tfourier_shape
calculates a 'Fourier tangent angle shape' given
Fourier coefficients (see Details
) or can generate some 'tfourier'
shapes.
tfourier_shape(an, bn, ao = 0, nb.h, nb.pts = 80, alpha = 2, plot = TRUE)
an |
|
bn |
|
ao |
|
nb.h |
|
nb.pts |
|
alpha |
|
plot |
|
A matrix of (x; y) coordinates.
Claude, J. (2008) Morphometrics with R, Use R! series, Springer 316 pp.
Other tfourier:
tfourier_i()
,
tfourier()
tf <- tfourier(bot[1], 24)
tfourier_shape(tf$an, tf$bn) # equivalent to rfourier_i(rf)
tfourier_shape()
tfourier_shape(nb.h=6, alpha=0.4, nb.pts=500)
panel(Out(a2l(replicate(100,
coo_force2close(tfourier_shape(nb.h=6, alpha=2, nb.pts=200, plot=FALSE)))))) # biological shapes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.