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