Learn R Programming

Momocs (version 1.0.0)

def_links: Defines links between landmarks

Description

Works on Ldk objects, on 2cols matrices, 3dim arrays (msshapes 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: 
# data(wings)
# wm <- mshapes(wings)
# links <- def_links(wm, 3) # click to define pairs of landmarks
# ldk_links(wm, links)
# ## End(Not run)

Run the code above in your browser using DataLab