lets.midpoint: Compute the midpoint of species' geographic ranges

Description Usage Arguments Value Author(s) See Also Examples

Description

Calculate species' distributional midpoint from a presence-absence matrix.

Usage

1
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

1
2
3
4
5
## Not run: 
data(PAM)
mid <- lets.midpoint(PAM)

## End(Not run) 


Search within the letsR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.