Usage
hquant(Coo, method = c("efourier", "rfourier", "tfourier"),
id = 1, smooth.it = 0, harm.range = c(seq(4, 24, 4),
200), norm.centsize = TRUE, dist.method = edm.nearest,
plot = TRUE, dev.plot = TRUE, title = "Deviations along the outline",
legend = TRUE, palette = col.summer, lineat.y = c(0.5, 0.1, 0.01))
Arguments
method
A character, either "efourier", "rfourier" or "tfourier" (partial matches are allowed) to use to calculate morphological that indicates which method to use.
id
integer
. The id
of the shape to display. A range of id
s can be passed to harm.pow
smooth.it
integer
. The number of smoothing iteration to perform.
harm.range
A vector
of integer
giving the harmonic range to calculate. See nb.h
for harm.pow
.
norm.centsize
logical
. Whether to normalize distances by the centroid size of every outline.
plot
logical
. Whether to plot or not the shape. If FALSE
, only the results are returned.
dev.plot
logical
. Whether to plot or not the deviation plot.
title
A title for the plot.
legend
logical
. Whether to display a legend box.
palette
A color palette such those included in Momocs or produced with colorRampPalette. lineat.y
A vector
of numeric
to specify where to plot dashed lines on the y-axis.