| Ldk {Momocs} | R Documentation |
Builds an Ldk object
Description
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)
Arguments
coo |
a |
fac |
(optionnal) a |
links |
(optionnal) a 2-columns |
slidings |
(optionnal) a 3-columns |
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
Value
an Ldk object
See Also
Other classes:
Coe(),
Coo(),
OpnCoe(),
Opn(),
OutCoe(),
Out(),
TraCoe()
Examples
#Methods on Ldk
methods(class=Ldk)
str(mosquito)