Description Usage Arguments Details Value
Jensen-Shannon divergence of discrete probability distibutions JSD(p||q)
1 |
p |
first probability distribution |
q |
second probability distribution |
Assumes that both p and q are normalized (sum(p)=sum(q)=1) and that they contain no NA values. Calculated with base-e log, so the bounds are [0,log(2)].
JSD(p||q), a numeric value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.