findMeanSpec: Identify specimen closest to the mean of a set of aligned...

Description Usage Arguments Details Value Author(s) See Also

View source: R/findMeanSpec.r


A function to identify which specimen lies closest to the estimated mean shape for a set of aligned specimens.





A 3D array (p x k x n) containing landmark coordinates for a set of aligned specimens


Function takes an array of aligned specimens (such as made by gpagen, calculates the distance of each to the estimated mean shape, and returns the name and address of the closest specimen. This function can be used to identify the specimen to be used by warpRefMesh.


Function returns the name and address of the specimen closest to the mean of the set of aligned specimens.


Emma Sherratt

See Also


geomorph documentation built on May 19, 2017, 8:30 p.m.
Search within the geomorph package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.