Calculates nice positions on a plane for drawing shapes
morphospace_positions(
xy,
pos.shp = c("range", "full", "circle", "xy", "range_axes", "full_axes")[1],
nb.shp = 12,
nr.shp = 6,
nc.shp = 5,
circle.r.shp
)
a data.frame of positions
a matrix of points typically from a PCA or other multivariate method on which morphospace can be calculated
how shapes should be positionned: range
of xy,
full
extent of the plane, circle
as a rosewind,
on xy
values provided, range_axes
on the range of xy
but on the axes, full_axes
same thing but on (0.85) range of the axes.
You can also directly pass a matrix (or a data.frame)
with columns named ("x", "y")
.
the total number of shapes
the number of rows to position shapes
the number of cols to position shapes
if circle, its radius
See plot.PCA for self-speaking examples