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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/lets_midpoint.R

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) 

letsR documentation built on May 19, 2017, 10:04 a.m.

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