get_ldk {Momocs} | R Documentation |
Retrieves landmarks coordinates
Description
See Details for the different behaviors implemented.
Usage
get_ldk(Coo)
Arguments
Coo |
an Out, Opn or Ldk object |
Details
Different behaviors depending on the class of the object:
-
Ldk: retrieves landmarks.
Ldk with slidings defined: retrieves only the fixed landmarks, not the sliding ones. See also get_slidings.
-
Out landmarks from
$ldk
and$coo
, if any. -
Opn: same as above.
Value
a list of shapes
See Also
Other ldk/slidings methods:
add_ldk()
,
def_ldk()
,
def_slidings()
,
get_slidings()
,
rearrange_ldk()
,
slidings_scheme()
Examples
# Out example
ldk.h <- get_ldk(hearts)
stack(Ldk(ldk.h))
# on Ldk (no slidings)
get_ldk(wings) # equivalent to wings$coo
# on Ldk (slidings)
get_ldk(chaff)
get_ldk(chaff) %>% Ldk %>% fgProcrustes(tol=0.1) %>% stack
[Package Momocs version 1.4.1 Index]