RangeFinder: Calculate range sizes of species and generates a histogram.

Description Usage Arguments Value

View source: R/RangeFinder.R

Description

Calculate range sizes of species and generates a histogram.

Usage

1
2
3
4
5
6
7
RangeFinder(
  data,
  metric = "latitude",
  breaks,
  write = FALSE,
  name = "simulation"
)

Arguments

data

Data.frame (colnames:x,y). A dataframe of species occurrences (species,x,y).

metric

Character. Which metric to use to calculate range: "latitude", "longitude" or "GCD" (Great Circle distance; WGS84 ellipsoid).

breaks

Integer. Number of breaks desired in plot. Value should relate to unit of measurement (e.g. in degree for latitude/longitude, km for GCD)

Value

A dataframe of the latitudinal (degrees), longitudinal (degrees), or Great Circle distance (kilometres) range of each species.


LewisAJones/LBGSim documentation built on March 28, 2020, 12:03 a.m.