Learn R Programming

Momocs (version 1.2.9)

get_ldk: Retrieves landmarks coordinates

Description

See Details for the different behaviors implemented.

Usage

get_ldk(Coo)

Arguments

Coo

an Out, Opn or Ldk object

Value

a list of shapes

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.

See Also

Other ldk/slidings methods: add_ldk, def_ldk, def_slidings, get_slidings, rearrange_ldk, slidings_scheme

Examples

Run this code
# NOT RUN {
# 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
# }

Run the code above in your browser using DataLab