Calculate the true Hill numbers
true_hill(input, q)
Arguments
input |
A vector of proportions. |
q |
The Hill number of interest. q = 0 corresponds to species richness, q = 2 corresponds to inverse Simpson, etc. |
Value
The Hill number of the population given by input.