Description Usage Arguments Details Value Note Examples

Calculates six geographic range measures at specified sample sizes for a single taxon

1 2 3 4 | ```
GeoRarefaction_SingleTaxon(TName = "Bird1", OccMatrix, LongPos = 1,
LatPos = 2, iter = 10, CellSize = 5, longBounds = c(-180, 180),
latBounds = c(-90, 90), steps = c(1, 50, 40, 30, 20, 10, 5),
replacePts = FALSE)
``` |

`TName` |
- The name of the taxon of interest, as labeled in OccMatrix, as a string |

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

`LongPos` |
- The column index value of longitudinal coordinates in the OccMatrix |

`LatPos` |
- The column index value of latitudinal coordinates in the OccMatrix |

`iter` |
- The number of times a taxon's locations are resampled at each step size |

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

`steps` |
- Array of the values representing the number of points to be subsampled for each taxon |

`replacePts` |
- A logical value indicating whether points are allowed to be sampled more than once during each subsampling iteration |

The nLocCut parameter is the minimum number of distinct geographic locations a taxon must be observed at to have geographic range measures calcualted, if below retruns NA. The steps parameter typically begins with a 1 representing that all points should be used in calculations but this is not required. The replacePts parameter must be set to TRUE if any of the steps require a greater number of points be locations be sampled than are available for a taxon, otherwise the function will fail.

Returns a list of each geographic range measure as a separate matrix of values. Measures include 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.

If PEE values are to be calculated as a next step the steps parameter needs to have a value of 1 as its first value

1 2 3 4 5 6 | ```
## Not run:
data(BivalvePBDB)
BivalveMatrix<-CoordList_PBDB(BivalvePBDB)
GeoRarefaction_SingleTaxon(TName=names(BivalveMatrix)[3],OccMatrix=BivalveMatrix,replacePts=TRUE)
## 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.