Learn R Programming

breakaway (version 4.8.4)

true_shannon: Calculate the true Shannon index based on proportions

Description

Calculate the true Shannon index based on proportions

Usage

true_shannon(input)

Value

The Shannon index of the population given by input.

Arguments

input

A vector of proportions.