gini_simpson | R Documentation |
Calculate the Gini-Simpson index for a set of frequencies
gini_simpson(x)
x |
a numeric vector |
The Gini-Simpson is 1 minus the probability that two bases are the same. Aka 1 minus Simpson's index. Aka 1 minus 1/N_2
the Gini-Simpson index
vegan::diversity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.