linear.dist | R Documentation |
Measure the linear distance between pairs of landmarks
linear.dist(landmarks, measurements, dist = "euclidean")
landmarks |
A |
measurements |
A pair of landmark IDs or a |
dist |
The type of distance as passed to |
Thomas Guillerme
## Loading the plethodon dataset
require(geomorph)
data(plethodon)
data(scallops)
## One measurement on multiple specimen
linear.dist(plethodon$land, c(1,2))
## List of multiple measurements on multiple specimen
linear.dist(scallops$coorddata, list("a" = c(1,2), "b" = c(2,15)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.