links_all: Creates links (all pairwise combinations) between landmarks

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

links_allR Documentation

Creates links (all pairwise combinations) between landmarks

Description

Creates links (all pairwise combinations) between landmarks

Usage

links_all(coo)

Arguments

coo

a matrix (or a list) of (x; y) coordinates

Value

a matrix that can be passed to ldk_links, etc. The columns are the row ids of the original shape.

See Also

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

Examples

w <- wings[1]
coo_plot(w)
links <- links_all(w)
ldk_links(w, links)

MomX/Momocs documentation built on Nov. 18, 2023, 10:53 p.m.