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. fgProcrustes).
Ldk objects are primarily Coo objects. In a sense, morphometrics methods
on Ldk objects preserves (x, y) coordinates and LdkCoe are also Ldk objects.
Usage
Ldk(coo, fac = dplyr::tibble(), links = NULL, slidings = NULL)
Value
an Ldk object
Arguments
coo
a list of matrices of (x; y) coordinates,
or an array, or an Ldk object or a data.frame (and friends)
fac
(optionnal) a data.frame of factors and/or numerics
specifying the grouping structure
links
(optionnal) a 2-columns matrix of 'links' between landmarks, mainly for plotting
slidings
(optionnal) a 3-columns matrix defining (if any) sliding landmarks
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.
Please note that Ldk methods are as experimental.
implementation of $slidings is inspired by geomorph
See Also
Other classes:
Coe(),
Coo(),
OpnCoe(),
Opn(),
OutCoe(),
Out(),
TraCoe()