Rdocumentation
powered by
Learn R Programming
BEQI2 (version 2.0-0)
entropy: Shannon's Entropy
Description
Compute entropy according to Shannon (1948)
Usage
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.