View source: R/coo-ldk-utilities.R
get_ldk | R Documentation |
See Details for the different behaviors implemented.
get_ldk(Coo)
Coo |
an Out, Opn or Ldk object |
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.
a list of shapes
Other ldk/slidings methods:
add_ldk()
,
def_ldk()
,
def_slidings()
,
get_slidings()
,
rearrange_ldk()
,
slidings_scheme()
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.