This function implements the plug-in Simpson diversity

sample_simpson(input_data)

Arguments

input_data

An input type that can be processed by convert() or a phyloseq object

Value

An object of class alpha_estimate, or alpha_estimates for phyloseq objects

Examples

sample_simpson(apples)
#> Estimate of simpson from method Plug-in:
#>   Estimate is 0.01
#>  with standard error 0
#>   Confidence interval: (NA, NA)
#>