R/coo-ldk-utilities.R
def_ldk_tips.Rd
On Opn objects, this can be used before coo_slice. See examples.
def_ldk_tips(coo)
Opn object
Opn
a Momocs object of same class
any existing ldk will be preserved.
is_ldk(olea) # no ldk for olea #> [1] FALSE olea %>% slice(1:3) %>% #for the sake of speed def_ldk_tips %>% def_ldk_angle(3*pi/4) %>% def_ldk_angle(pi/4) %T>% stack %>% coo_slice(ldk=1:4) -> oleas stack(oleas[[1]]) stack(oleas[[2]]) # etc.