draw_rarefaction: Subsample species to draw a rarefaction curve

Description Usage Arguments Value

Description

Subsample species to draw a rarefaction curve

Usage

1
draw_rarefaction(population, pts = NA, replicates = 5, ecosystem = NA)

Arguments

population

The population to draw from

pts

A vector of depths to subsample to

replicates

The number of times to repeat (for confidence intervals)

ecosystem

The ecosystem name (useful for comparing ecosystems in plots)

Value

A data frame with each row corresponding to a sampling depth (number of rows = length of pts)


adw96/antirarefaction documentation built on May 7, 2019, 8:41 a.m.