Description Usage Arguments Value
View source: R/miscFunctions.R
Calculates the diversity of a community.
1 | diversityIndex(n, type = "alpha", index = "invSimp")
|
n |
|
type |
What scale of diversity ("alpha" or "gamma") |
index |
Which diversity index to use ("invSimp" for inverse Simpson's; "giniSimp" for gini-Simpson's) |
The calculated diversity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.