entropy: Shannon's Entropy

Description Usage Arguments Value References

View source: R/utils.R

Description

Compute entropy according to Shannon (1948)

Usage

1
entropy(taxon, count)

Arguments

taxon

character vector with taxa

count

integer vector with counts

Value

Shannon's entropy

References

Shannon, C. E., 1948. A Mathematical Theory of Communication. Bell System Technical Journal 27: 379-423.


BEQI2 documentation built on May 2, 2019, 8:19 a.m.