turnover: Turnover Rate per Sample

Description Usage Arguments Value Author(s) References See Also Examples

Description

For numerous communities of equal weights, the numbers equivalent of the Shannon beta diversity and the number of samples (N) can be used to calculate the turnover rate per sample (Equation 25 from Jost 2007, Harrison et al. 1992).

Usage

1
turnover(abundances, abundances2 = NULL, q = 1, boot = FALSE, boot.arg = list(s.sizes = NULL, num.iter = 100))

Arguments

abundances

Community data as a matrix where columns are individual species and rows are sites or a vector of different species within a site. Matrix and vector elements are abundance data (e.g. counts, percent cover estimates).

abundances2

Community data, a vector of different species within a site. Vector elements are abundance data (e.g. counts, percent cover estimates). If abundances1 is given a matrix, then abundances2 defaults to NULL.

q

Order of the diversity measure. Defaults to the Shannon case where q = 1.

boot

Logical indicating whether to use bootstrapping to estimate uncertainty.

boot.arg

(optional) List of arguments to pass bootstrapping function: list(s.sizes=number you specify, num.iter=number you specify)

Value

Turnover

A scalar ranging from zero (no turnover between samples) to one (completely different samples).

StdErr

(optional) Standard error of value estimated through bootstrapping.

Author(s)

Noah Charney, Sydne Record

References

Jost, L. 2007. Partitioning diversity into independent alpha and beta components. Ecology 88(10): 2427-2439.

Harrison, S., S. Ross, and J. Lawton. 1992. Beta diversity on geographic gradients in Britain. Journal of Animal Ecology 61: 151-158.

See Also

M.homog, Rel.homog, similarity, bootstrap

Examples

1
2
3
4
data(simesants)
turnover(simesants[,-1])
turnover(simesants[,-1],q=2,boot=TRUE)
turnover(simesants[,-1],q=2,boot=TRUE,boot.arg=list(num.iter=500))

Example output

[1] 0.1308766
$Turnover
[1] 0.05304575

$StdErr
[1] 0.007404343

$Turnover
[1] 0.05304575

$StdErr
[1] 0.007922889

vegetarian documentation built on May 1, 2019, 8:01 p.m.