Description Usage Arguments Examples
Estimated difference between two probability distributions.
1 | jointentropy(x, y, bins)
|
x, y |
numeric or discrete data vectors |
bins |
specify number of bins |
1 2 3 4 5 6 7 8 9 | # Sample numeric vector
a <- rnorm(25, 80, 35)
b <- rnorm(25, 90, 35)
mlf::jointentropy(a, b, bins = 2)
# Sample discrete vector
a <- as.factor(c(1,1,2,2))
b <- as.factor(c(1,1,1,2))
mlf::jointentropy(a, b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.