powered by
Calculate the true Shannon index based on proportions
true_shannon(input)
The Shannon index of the population given by input.
A vector of proportions.