Description Usage Arguments Value
Compute the Jensen-Shannon (JS) divergence between two one-dimensional probability distributions. Original code adopted from: http://stackoverflow.com/questions/11226627/jensen-shannon-divergence-in-r
1 | jsDivergence(p, q)
|
p, q |
Density vectors of a one-dimensional probability distribution. |
JS divergence between p and q.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.