Mirror landmark templates

mirror_templates(data, mirroredlandmarks)

Arguments

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

Value

Returns array containing mirrored landmark data

Examples

data(LondonSet_aligned) data(mirroredlandmarks) mirr <- mirror_templates(LondonSet_aligned, mirroredlandmarks) geomorph::plotAllSpecimens(LondonSet_aligned)
geomorph::plotAllSpecimens(mirr)