def_links {Momocs} | R 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)
[Package Momocs version 1.4.1 Index]