get_slidings {Momocs}R Documentation

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

# 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

[Package Momocs version 1.4.1 Index]