Learn R Programming

breakaway (version 4.8.4)

sample_shannon: Plug-in Shannon diversity

Description

This function implements the plug-in Shannon diversity

Usage

sample_shannon(input_data)

Value

An object of class alpha_estimate, or alpha_estimates for phyloseq objects

Arguments

input_data

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

Examples

Run this code
sample_shannon(apples)

Run the code above in your browser using DataLab