calcMeanShape {epm} | R Documentation |
For an epmGrid object that contains geometric morphometric shape coordinates, calculate the per-grid-cell mean shape.
calcMeanShape(x)
x |
object of class |
This function will ignore cells that are empty.
a list with 2 elements: (1) matrix where nrow = number of grid cells and ncol = the number of data columns. Each row is a vector of mean shape coordinates. (2) a matrix of xy coordinates corresponding to those grid cells.
Pascal Title
tamiasEPM
tamiasEPM <- addTraits(tamiasEPM, tamiasTraits)
meanshape <- calcMeanShape(tamiasEPM)
head(meanshape[[1]])
head(meanshape[[2]])