Learn R Programming

Momocs (version 1.4.1)

def_ldk_tips: Define tips as new landmarks

Description

On Opn objects, this can be used before coo_slice. See examples.

Usage

def_ldk_tips(coo)

Value

a Momocs object of same class

Arguments

coo

Opn object

Examples

Run this code
is_ldk(olea) # no ldk for olea
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.

Run the code above in your browser using DataLab