alpha_div: Indices of Species Diversity

View source: R/alphadiv.R

alpha_divR Documentation

Indices of Species Diversity

Description

Indices of Species Diversity

Usage

alpha_div(comm, method = "full")

Arguments

comm

a data frame with presence/absence or abundance as entry

method

a string or a vector of strings: one or several of "richness", "GiniSimpson", "Simpson", "Shannon", "Margalef", "Menhinick", "McIntosh", "full".

Details

Let S_i be the number of species in community i, n_ij be the absolute abundance of species j in community i, N_i the sum of all species abundance in community i (N_i=sum_j n_ij; the sum of row i in comm), p_ij the relative abundance of species j in community i (p_ij=n_ij/N_i). If method="richness", the diversity index is the number of species. If method="GiniSimpson", the diversity index is that of Gini (1912) and Simpson (1949): 1-sum_j p_ij^2. If method="Simpson", the diversity index is (Simpson 1949): 1/(sum_j p_ij^2). If method="Shannon", the diversity index is that of Shannon (1948) with neperian logarithm: -sum_j p_ij log(p_ij). If method="Margalef", the diversity index is that of Margalef (1972): (S_i-1)/log(N_i). If one of the strings is "full", then all indices are calculated.

Value

table

References

Gini, C. (1912) Variabilita e mutabilita. Studi economicoaguridici delle facoltta di giurizprudenza dell, Universite di Cagliari III, Parte II. Magurran, A.E. (2004) Measuring biological diversity. Blackwell Publishing, Oxford, U.K. Margalef, R. (1972) Homage to Evelyn Hutchinson, or why is there an upper limit to diversity? Transactions of the Connecticut Academy of Arts and Sciences, 44, 211–235. McIntosh, R.P. (1967) An index of diversity and the relation of certain concepts to diversity. Ecology, 48, 392–404. Menhinick, E.F. (1964) A Comparison of some species-individuals diversity indices applied to samples of field insects. Ecology, 45, 859–861. Shannon, C.E. (1948) A mathematical theory of communication. Bell System technical journal, 27, 379–423, 623–656. Simpson, E.H. (1949) Measurement of diversity. Nature, 163, 688.


PaulESantos/diversity.tool documentation built on July 29, 2022, 8:20 a.m.