Diversity: Etimation of species diversity

Description Usage Arguments Value Author(s) Examples

Description

Diversity This part features various diversity indices including the Shannon??s index and its effective number of species (diversity of order 1, or Shannon diversity), the Simpson??s index and its effective number of species (diversity order 2, or Simpson diversity), species richness (diversity of order 0).

Usage

1
Diversity(X, datatype = c("abundance", "incidence"))

Arguments

X

a vector of species sample frequencies (for abundance data), or incidence-based sample frequencies (1st entry must be the number of sampling unit).

datatype

a character of data type,"abundance" or "incidence".

Value

a list of species diversity estimator with order q and its confidence interval.

Author(s)

Anne Chao, K. H. Ma and T. C. Hsieh

Examples

1
2
3
4
5
## Not run: 
data(DivDemoAbu)
Diversity(DivDemoAbu,datatype="abundance")

## End(Not run)

JohnsonHsieh/SpadeR documentation built on May 7, 2019, 12:02 p.m.