50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


letsR (version 1.0)

lets.midpoint: Species' geographical range midpoint

Description

Calculate species' geographical range midpoint from a presence-absence matrix.

Usage

lets.midpoint(pam, planar=FALSE)

Arguments

pam
A presence-absence matrix (sites in the rows and species in the columns, with the first two columns being longitude and latitude coordinates, respectively), or an object of class PresenceAbsence.
planar
Logical, if FALSE the coordinates are in Longitude/Latitude. If TRUE the coordinates are planar.

Value

  • A matrix containing the species' names and coordinates (longitude [x], latitude [y]) of species' midpoints.

See Also

lets.presab lets.presab.birds

Examples

Run this code
data(PAM)
mid <- lets.midpoint(PAM)

Run the code above in your browser using DataLab