Skip to contents

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()
#> [1] "partition1"
# the first and the fourth
get_slidings(chaff, c(1, 4)) %>%  names()
#> [1] "partition1" "partition4"
# all of them
get_slidings(chaff) %>%  names
#> [1] "partition1" "partition2" "partition3" "partition4"
# here we want to see it
get_slidings(chaff, 1)[[1]] %>%  Ldk %>% stack