LatCRCurve: Latitudinal classical rarefaction curve

Description Usage Arguments Value

View source: R/LatCRCurve.R

Description

Latitudinal classical rarefaction curve

Usage

1
2
3
4
5
6
7
8
LatCRCurve(
  data,
  bandsize = 15,
  knots = 100,
  iterations = 100,
  write = FALSE,
  name = "simulation"
)

Arguments

data

Dataframe (colnames: rep, species, x, y). A dataframe containing species ID, occurrences and (optional) replications.

bandsize

Integer. Size of latitudinal bins/bands desired for analyses. Defaults to 15.

knots

Integer. Defaults to 100.

iterations

Integer. Defaults to 100, number of iterations to sample each rep for.

write

Logical. Write dataframe of latitudinal diversity.

name

Character. File name to write.

Value

A dataframe containing data for rarefaction curve.


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