H | R Documentation |
Entropy of a discrete probability distribution
H(px, epsilon = 1e-20, normalized = FALSE)
px |
probability distribution |
epsilon |
small number to avoid log(0) |
normalized |
boolean to normalize entropy |
entropy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.