Description Usage Arguments Value
Calculate the Shannon-Weaver diversity index
1 | shannonDiv(comm)
|
comm |
A vector with the species ID for each individual in your sample. Each species is represented by a unique integer. |
A number representing the Shannon diversity of the input sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.