Convert a three-dimensional array of landmark coordinates into a two-dimensional matrix
two.d.array(A, sep = ".")
A 3D array (p x k x n) containing landmark coordinates for a set of specimens
An optional argument for variable labeling, combining landmark labels (e.g., 1, 2, 3, ...)
and partial dimension labels (e.g., "x", "y", and "z"), much like the
This function converts a (p x k x n) array of landmark coordinates into a two-dimensional matrix (n x [p x k]). The latter format of the shape data is useful for performing subsequent statistical analyses in R (e.g., PCA, MANOVA, PLS, etc.). Row labels are preserved if included in the original array.
Function returns a two-dimensional matrix of dimension (n x [p x k]), where rows represent specimens and columns represent variables.
Dean Adams and Emma Sherratt
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.