Mirror landmark templates
mirror_templates(data, mirroredlandmarks)
data | Array holding landmark data of dimensions p, k, and n. p = number of landmarks, k = dimension (2D or 3D), n = number of specimens. |
---|---|
mirroredlandmarks | Vector specifying order of mirrored landmarks |
Returns array containing mirrored landmark data
data(LondonSet_aligned) data(mirroredlandmarks) mirr <- mirror_templates(LondonSet_aligned, mirroredlandmarks) geomorph::plotAllSpecimens(LondonSet_aligned)