Description Usage Arguments Details
Calculate the Jensen-Shannon Distance between groups
1 |
x |
a possibly grouped |
dist |
a categorical variable to calculate JSD between group |
prior |
probability smoothing/dirichlet prior. Default is 0. |
Calculates the Jensen-Shannon distance for a grouped variable.
If prior is 0, 0 * log(0) is assumed to be 0 (ie the limit). Assumes that of beta is set to 0 the probability 0 is the limit when p -> 0+ i.e 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.