GeoRange_MultiTaxa: Function to tabulate number of occurrences/locations, six...

Description Usage Arguments Value Note See Also Examples

View source: R/GeoRange_MultiTaxa.R

Description

Function to tabulate number of occurrences/locations, six geographic range measures, minimum and maximum latitude and longitude for each taxon in a dataset

Usage

1
2
GeoRange_MultiTaxa(OccMatrix, TaxaStart, LongPos = 1, LatPos = 2,
  CellSize = 5, longBounds = c(-180, 180), latBounds = c(-90, 90))

Arguments

OccMatrix

- A matrix where columns are taxon occurrences and also having at least longitude and latitude values

TaxaStart

- The column index value where taxon records start

LongPos

- The column index value of longitudinal coordinates in the OccMatrix

LatPos

- The column index value of latitudinal coordinates in the OccMatrix

CellSize

- The size of each cell in degree X degree

longBounds

- Array of longitudinal boundaries in decimal degrees

latBounds

- Array of latitudinal boundaries in decimal degrees

Value

Returns a matrix of taxa by geographic range measures, including number of observations, number of unique locations observed at, minimum spanning tree distance, minimum convex hull area, maximum pairwise great circle distance, latitudinal range, longitudinal range, and number of degree X degree cells occupied

Note

Calculates the number of observations, localities, minimum spanning tree distance, convex hull area, longitudinal range, latitudinal range, and cell count

See Also

See the velociraptr package for details of the downloadPBDB() function

Examples

1
2
3
4
5
6
## Not run: 
data(BivalvePBDB)
BivalveMatrix<-CoordList_PBDB(BivalvePBDB)
GeoRange_MultiTaxa(OccMatrix=BivalveMatrix,TaxaStart=3)

## End(Not run)

GeoRange documentation built on June 20, 2017, 9:03 a.m.