true_shannon: Calculate the true Shannon index based on proportions

View source: R/alpha_true.R

true_shannonR Documentation

Calculate the true Shannon index based on proportions

Description

Calculate the true Shannon index based on proportions

Usage

true_shannon(input)

Arguments

input

A vector of proportions.

Value

The Shannon index of the population given by input.

Note

This function is intended for population-level data. If you are dealing with a microbial sample, use DivNet instead.


breakaway documentation built on Nov. 22, 2022, 5:08 p.m.