H {forensIT} | R Documentation |
Entropy of a discrete probability distribution
Description
Entropy of a discrete probability distribution
Usage
H(px, epsilon = 1e-20, normalized = FALSE)
Arguments
px |
probability distribution |
epsilon |
small number to avoid log(0) |
normalized |
boolean to normalize entropy |
Value
entropy
[Package forensIT version 1.0.0 Index]