MCPAN (version 1.1-21)

estShannon: Estimate the Shannon Index

Description

Calculates estimates of the Shannon-Wiener from count data.

Usage

estShannon(x, Nspec = NULL)

Arguments

x

a integer(numeric) vector of species counts

Nspec

a single integer value, fixing the number of species to a certain value

Value

A list, containing the elements:

estimate

a single numeric value, the estimate with bias correction according to Fritsch and Hsu (1999)

estraw

a single numeric value, the raw estimate

varest

a single numeric value, the variance estimate according to Fritsch and Hsu (1999)

References

Fritsch, KS, and Hsu, JC (1999): Multiple Comparison of Entropies with Application to Dinosaur Biodiversity. Biometrics 55, 1300-1305.

See Also

estSimpsonf for estimating Shannon indices pooled over several samples, grouped by a factor