Description Usage Arguments Value
Compute alpha diversity metrics
Note that the Simpson index here is the probability that two individuals randomly drawn will be of the same taxon, and thus gets larger as diveristy *decreases*.
1 2 3 4 5 |
x |
A matrix with rows as sites and species as columns. Values are abundances or presence/absence |
proportion |
Logical. If true, abundances in x are considered proportional abundances. If false, x will be transformed to proportional abundance |
A vector of diversity values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.