An ad hoc
wrapper for stats::density()
+
graphics::polygon()
/ graphics::points()
. Used internally for
projecting scatterpoints into univariate morphospaces.
plot_univ_scatter(scores, density, col = 1, bg = 1, pch = 1, cex = 1, ...)
a matrix of (x,y) coordinates to plot.
Logical; whether to plot density curve.
Color of the scatterpoints.
Background color for the scatterpoints.
Symbol of the scatterpoints.
Numeric; size of the scatterpoints.
Further arguments passed to graphics::points()
.