Learn R Programming

Momocs (version 1.4.1)

def_links: 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)

Value

a Momocs object of same class

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.

See Also

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

Examples

Run this code
if (FALSE) {
wm <- MSHAPES(wings)
links <- def_links(wm, 3) # click to define pairs of landmarks
ldk_links(wm, links)
}

Run the code above in your browser using DataLab