Get alpha diversity using inverse simpson

inverse_simpson(x)

Arguments

x

A list of counts

Value

A single value

Examples

inverse_simpson(seq_len(10))
#> [1] 7.857143