View source: R/js_divergence.R
calculateJsDivergence | R Documentation |
Given two probability distributions, calculate the Jensen-Shannon (JS) divergence between them.
calculateJsDivergence(p, q)
p, q |
Numerical vectors representing the probability distributions. |
A numeric for the JS divergence between the vectors.
generate2dJsDivergenceDataFrame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.