Description Usage Arguments Value Note See Also Examples

View source: R/GeoRange_MultiTaxa.R

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

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

`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 |

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

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

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.