Learn R Programming

geomorph (version 3.0.3)

mshape: Estimate mean shape for a set of aligned specimens

Description

Estimate the mean shape for a set of aligned specimens

Usage

mshape(A)

Arguments

A

Either a list (length n, each p x k), an array (p x k x n), or a matrix (pk X n) containing GPA-aligned coordinates for a set of specimens

Details

The function estimates the average landmark coordinates for a set of aligned specimens. It is assumed that the landmarks have previously been aligned using Generalized Procrustes Analysis (GPA) [e.g., with gpagen]. This function is described in Claude (2008).

References

Claude, J. 2008. Morphometrics with R. Springer, New York.

Examples

Run this code
data(plethodon) 
Y.gpa<-gpagen(plethodon$land)    #GPA-alignment   

mshape(Y.gpa$coords)   #mean (consensus) configuration

Run the code above in your browser using DataLab