Learn R Programming

coda4microbiome (version 0.2.4)

shannon_effnum: shannon_effnum

Description

Shannon effective number of variables in a composition

Usage

shannon_effnum(x)

Value

shannon information

Arguments

x

abundance composition (vector)

Author

M. Calle - T. Susin

Examples

Run this code

data(HIV, package = "coda4microbiome")

shannon_effnum(x_HIV[1,])

Run the code above in your browser using DataLab