This function implements the plug-in Shannon diversity
sample_shannon(input_data)
input_data | An input type that can be processed by |
---|
An object of class alpha_estimate
, or alpha_estimates
for phyloseq
objects
sample_shannon(apples) #> Estimate of shannon from method Plug-in: #> Estimate is 5.67 #> with standard error 0 #> Confidence interval: (NA, NA) #>