Learn R Programming

Momocs (version 1.2.9)

get_slidings: Extracts sliding landmarks coordinates

Description

From an Ldk object.

Usage

get_slidings(Coo, partition)

Arguments

Coo

an Ldk object

partition

numeric which one(s) to get.

Value

a list of list(s) of coordinates.

See Also

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

Examples

Run this code
# NOT RUN {
# for each example below a list with partition containign shapes is returned
# extracts the first partition
get_slidings(chaff, 1) %>% names()
# the first and the fourth
get_slidings(chaff, c(1, 4)) %>%  names()
# all of them
get_slidings(chaff) %>%  names
# here we want to see it
get_slidings(chaff, 1)[[1]] %>%  Ldk %>% stack
# }

Run the code above in your browser using DataLab