true_shannon {breakaway}R 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.


[Package breakaway version 4.8.4 Index]