shannon_effnum: shannon_effnum

View source: R/coda4microbiome_functions.R

shannon_effnumR Documentation

shannon_effnum

Description

Shannon effective number of variables in a composition

Usage

shannon_effnum(x)

Arguments

x

abundance composition (vector)

Value

shannon information

Author(s)

M. Calle - T. Susin

Examples


data(HIV, package = "coda4microbiome")

shannon_effnum(x_HIV[1,])


coda4microbiome documentation built on Sept. 11, 2024, 8 p.m.