Calculates contribution of harmonics to shape. The amplitude of every coefficients of a given harmonic is multiplied by the coefficients provided and the resulting shapes are reconstructed and plotted. Naturally, only works on Fourier-based methods.
Usage
hcontrib(Coe, ...)
# S3 method for OutCoe
hcontrib(
Coe,
id,
harm.r,
amp.r = c(0, 0.5, 1, 2, 5, 10),
main = "Harmonic contribution to shape",
xlab = "Harmonic rank",
ylab = "Amplification factor",
...
)
Arguments
- Coe
a
Coe
object (eitherOutCoe
or (soon)OpnCoe
)- ...
additional parameter to pass to
coo_draw
- id
the id of a particular shape, otherwise working on the meanshape
- harm.r
range of harmonics on which to explore contributions
- amp.r
a vector of numeric for multiplying coefficients
- main
a title for the plot
- xlab
a title for the x-axis
- ylab
a title for the y-axis
See also
Other Coe_graphics:
boxplot.OutCoe()