Description Usage Arguments Value See Also Examples
Computes the Kullback-Leibler divergence between two probability distributions.
1 |
p |
numeric. probability distributions. |
q |
numeric. probability distributions. |
base |
character. log bases. "log", "log2", "log10". default is "log" |
margin |
logical. Choose whether to return individual values or totals. The default value is FALSE, which returns individual values. |
numeric. Kullback-Leibler divergence of probability distributions p and q.
jsd
.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.