calcENS | R Documentation |
Use the proportions of populations to calculate effective number of species. This is a general function, but I use it mainly to check the maximum iLISI when comparing harmony integrations. Simpson Diversity Index (D) = sum(prop_i)^2, where prop_i = ni / N, where ni = abundance of species i and N = total sample number Inverse = 1/D
calcENS(values_v, proportion_v = T)
values_v |
vector of values to compute with. |
proportion_v |
logical indicating if values are proportions or actual values |
inverse sum of squared proportions of values_v
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.