coordinates.area: Coordinates area

View source: R/coordinates.area.R

coordinates.areaR Documentation

Coordinates area

Description

Calculates the area of the coordinates differences

Usage

coordinates.area(data, what = 1)

Arguments

data

The matrix of coordinate differences.

what

Which element of the coordinate differences to use (can be the numeric value of the column or the name as character).

Author(s)

Thomas Guillerme

See Also

coordinates.difference

Examples

## 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]])


TGuillerme/landvR documentation built on July 4, 2025, 10:16 p.m.