R/gini_simpson.R
gini_simpson.Rd
Get alpha diversity using gini
gini_simpson(x)
A list of counts
A single value
gini_simpson(seq_len(10)) #> [1] 0.8727273