shannonbio {pgirmess} | R Documentation |
Computes Shannon's and equitability indices from a data frame of two columns: column 1, dietary category; column 2, abundance (n, biomass,...)
shannonbio(data1)
data1 |
a data frame of two columns: column 1, dietary category; column 2, abundance (n, biomass,...) |
Computes Shannon's and equitability indices from a data frame of two columns: column 1, dietary category; column 2, abundance (n, biomass,...)
A vector of two values: Shannon's and equitability indices
Patrick Giraudoux <pgiraudo@univ-fcomte.fr>
data(preybiom) shannonbio(preybiom[,5:6])