diversity | R Documentation |
Computes multiple alpha diversity indices.
diversity(object, ...)
## S4 method for signature 'matrix'
diversity(object, ..., evenness = FALSE, unbiased = FALSE)
## S4 method for signature 'data.frame'
diversity(object, ..., evenness = FALSE, unbiased = FALSE)
object |
A |
... |
Currently not used. |
evenness |
A |
unbiased |
A |
Alpha diversity refers to diversity at the local level, assessed within a delimited system. It is the diversity within a uniform habitat of fixed size.
Diversity measurement assumes that all individuals in a specific taxa are equivalent and that all types are equally different from each other (Peet 1974). A measure of diversity can be achieved by using indices built on the relative abundance of taxa. These indices (sometimes referred to as non-parametric indices) benefit from not making assumptions about the underlying distribution of taxa abundance: they only take relative abundances of the species that are present and species richness into account. Peet (1974) refers to them as indices of heterogeneity.
Diversity indices focus on one aspect of the taxa abundance and emphasize either richness (weighting towards uncommon taxa) or dominance (weighting towards abundant taxa; Magurran 1988).
Evenness is a measure of how evenly individuals are distributed across the sample.
A data.frame
with the following columns:
size
Sample size.
observed
Number of observed taxa/types.
shannon
Shannon-Wiener diversity index.
brillouin
Brillouin diversity index.
simpson
Simpson dominance index.
berger
Berger-Parker dominance index.
menhinick
Menhinick richness index.
margalef
Margalef richness index.
chao1
Chao1 estimator.
ace
Abundance-based Coverage Estimator.
squares
Squares estimator.
The berger
and simpson
methods return a dominance index, not the
reciprocal or inverse form usually adopted, so that an increase in the value
of the index accompanies a decrease in diversity.
N. Frerebeau
Magurran, A. E. (1988). Ecological Diversity and its Measurement. Princeton, NJ: Princeton University Press. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/978-94-015-7358-0")}.
Peet, R. K. (1974). The Measurement of Species Diversity. Annual Review of Ecology and Systematics, 5(1), 285-307. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1146/annurev.es.05.110174.001441")}.
Other diversity measures:
evenness()
,
heterogeneity()
,
occurrence()
,
plot.DiversityIndex()
,
plot.RarefactionIndex()
,
profiles()
,
rarefaction()
,
richness()
,
she()
,
similarity()
,
simulate()
,
turnover()
## Data from Conkey 1980, Kintigh 1989
data("cantabria")
## Alpha diversity
diversity(cantabria)
## Shannon diversity index
(h <- heterogeneity(cantabria, method = "shannon"))
(e <- evenness(cantabria, method = "shannon"))
as.data.frame(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.