Learn R Programming

coda4microbiome (version 0.2.4)

shannon: shannon

Description

Shannon information

Usage

shannon(x)

Value

shannon information

Arguments

x

abundance composition (vector)

Author

M. Calle - T. Susin

Examples

Run this code

data(HIV, package = "coda4microbiome")

shannon(x_HIV[1,])


Run the code above in your browser using DataLab