def_links: Defines links between landmarks

View source: R/coo-ldk-utilities.R

def_linksR Documentation

Defines links between landmarks

Description

Works on Ldk objects, on 2-cols matrices, 3-dim arrays (MSHAPES turns it into a matrix).

Usage

def_links(x, nb.ldk)

Arguments

x

Ldk, matric or array

nb.ldk

numeric the iterative procedure is stopped when the user click on the top of the graphical window.

Value

a Momocs object of same class

See Also

Other ldk helpers: ldk_check(), links_all(), links_delaunay()

Examples

## Not run: 
wm <- MSHAPES(wings)
links <- def_links(wm, 3) # click to define pairs of landmarks
ldk_links(wm, links)

## End(Not run)

vbonhomme/Momocs documentation built on Nov. 13, 2023, 8:54 p.m.