Learn R Programming

GeoRange (version 0.1.0)

Calculating Geographic Range from Occurrence Data

Description

Calculates and analyzes six measures of geographic range from a set of longitudinal and latitudinal occurrence data. Measures included are minimum convex hull area, minimum spanning tree distance, longitudinal range, latitudinal range, maximum pairwise great circle distance, and number of X by X degree cells occupied.

Copy Link

Version

Install

install.packages('GeoRange')

Monthly Downloads

184

Version

0.1.0

License

GPL-3

Maintainer

James Boyle Developer

Last Published

June 15th, 2017

Functions in GeoRange (0.1.0)

EqualAreaRectangle

Create a rectangular shaped distribution with equal area to a given area
GCD

Calculates the maximum pairwise great circle distance from a set of decimal degree coordinates
CHullAreaEarth

Performs convex hull area calculation from coordinate sets on the Earth's surface
CellCount

Calculates degree x degree cell counts of a specified size
CoordCollapse

Removes duplicate geographic locations and binds coordinates into a single element
CoordList_PBDB

Creates an occurrence matrix of taxa by coordinates from the Paleobiology Database
PWMatrix

Creates a sparse pairwise distance matrix of a coordinate set
PlotConvexHull

Plots the minimum convex hull of a set of coordinates
hello

Prints Hello, world!
GeoRange_MultiTaxa

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

Calculates six geographic range measures at resampled a number of time from specified sample sizes
PtsAlgHorseShoe

Function to find points along a horseshoe shape
RandHorseShoe

Function to randomly generate points within a horseshoe-shape
LatRg

Calculates the latitudinal range in degrees and kilometers
LongRg

Calculates the longitudinal range in degrees and kilometers, assuming a latitude of 45 degrees for all points by default. Accounts for the possibility of wrapping around the globe.
BivalvePBDB

Occurrence data on bivalves from the Ypresian Data from the Paleobiology Database via the velociraptr package on May 17th, 2017
CHullArea

Performs Convex Hull area calculation
MSTDist

Calculates the minimum spanning tree distance, in kilometers, using Prim's Algorithm [1]
MSTDist_FromMat

Calculates the minimum spanning tree distance, in kilometers, using Prim's Algorithm [1] and a previously calculated pairwsie distance matrix
GeoCor

Function to calculate the correlation coefficient for pairwise comparisons between geographic range measures
GeoPerformance_SkewCV

Function to calculate the skewness and coefficient of variance for a set of geographic range calculations
GeoRarefaction_SingleTaxon

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

Function to calcuate the area of a given horseshoe shape
PEE_MultiTaxa

Function to compile the PBDB_PEE_SingleTaxon output for a list of taxa
PEE_SingleTaxon

Function to calculate PEE [1] matrices for all the geographic range measures
gcd_hf

Calculates the geodesic distance between two points specified by latitude and longitude using the Haversine formula
gcd_vif

Calculates the geodesic distance between two points specified by latitude/longitude using Vincenty inverse formula for ellipsoids
PlotMST

Plots the minimum spanning tree of a set of coordinates
Plot_Rarefaction

Plots the measured value versus rarefied samples or percent error of estimates (PEE) of a rarefied samples for a geographic range measure
RandRec

Function to randomly generate points within a given rectangular shaped distribution
deg2rad

Converts degrees to radians