R/utility.R
entropy.Rd
Entropy of a distribution
entropy(p, base = 2)
Discrete probability distribution
Desired base for entropy, eg, 2 for bits
Calculated Shannon entropy