Description Usage Arguments Value See Also Examples
The joint Shannon entropy provides an estimation of the measure of uncertainty between two random variables (see https://en.wikipedia.org/wiki/Joint_entropy).
1 2 3 | joint_shannon_entropy(x, y)
joint_H(x, y)
|
x |
A factor as the represented categorical variable. |
y |
A factor as the represented categorical variable. |
Joint Shannon entropy estimation for variables x
and y
.
shannon_entropy
for the entropy for a
single variable and
multivar_joint_shannon_entropy
for the entropy
associated with more than two random variables.
1 2 3 4 5 6 7 | joint_shannon_entropy(factor(c(0,0,1,1)), factor(c(0,1,0,1)))
joint_shannon_entropy(factor(c('a','b','c')), factor(c('c','b','a')))
## Not run:
joint_shannon_entropy(1)
joint_shannon_entropy(c('a','b'), c('d','e'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.