R: Compute the midpoint of species' geographic ranges
lets.midpoint
R Documentation
Compute the midpoint of species' geographic ranges
Description
Calculate species' distributional 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 containing the longitudinal
and latitudinal 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 data.frame containing the species' names and geographic coordinates
(longitude [x], latitude [y]) of species' midpoints.
Author(s)
Fabricio Villalobos & Bruno Vilela
See Also
lets.presab
lets.presab.birds
Examples
## Not run:
data(PAM)
mid <- lets.midpoint(PAM)
## End(Not run)