In Momocs, Ldk classes objects are
lists of configurations of landmarks, with optionnal components,
on which generic methods such as plotting methods (e.g. stack)
and specific methods (e.g. todo-Procrustes can be applied.
Ldk objects are primarily Coo objects.
Usage
Ldk(coo, links = NULL, slidings = NULL, fac = data.frame())
Arguments
coo
a list of matrices of (x; y) coordinates,
or an array, an Ldk object.
links
(optionnal) a 2-columns matrix of 'links' between landmarks, mainly for plotting
slidings
(optionnal) a 3-columns matrix defining (if any) sliding landmarks
fac
(optionnal) a data.frame of factors and/or numerics
specifying the grouping structure
Value
an Ldk object
Details
All the shapes in x must have the same number of landmarks. If you are
trying to make an Ldk object from an Out or an Opn object, try coo_sample beforehand
to homogeneize the number of coordinates among shapes. implementation of $slidings is inspired by geomorph