Calculate the true Gini-Simpson index

true_gini(input)

Arguments

input

A vector of proportions.

Value

The Gini-Simpson index of the population given by input.

Note

This function is intended for population-level data. If you are dealing with a microbial sample, use DivNet instead.