View source: R/coordinates.area.R
coordinates.area | R Documentation |
Calculates the area of the coordinates differences
coordinates.area(data, what = 1)
data |
The |
what |
Which element of the coordinate differences to use (can be the |
Thomas Guillerme
coordinates.difference
## Loading the geomorph dataset
require(geomorph)
data(plethodon)
## Performing the Procrustes superimposition
proc_super <- gpagen(plethodon$land, print.progress = FALSE)
## Getting the spherical coordinates difference between the two first specimen
difference <- coordinates.difference(proc_super$coords[, , 1], proc_super$coords[, , 2],
type = "spherical", angle = "degree")
## Calculate the area of the coordinates differences
coordinates.area(difference[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.