Learn R Programming

Momocs (version 1.2.9)

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)

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
# NOT RUN {
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