tof_find_jsd | R Documentation |
Find the Jensen-Shannon Divergence (JSD) between two numeric vectors
tof_find_jsd(vec_1, vec_2, num_bins = 100)
vec_1 |
A numeric vector. |
vec_2 |
A numeric vector. |
num_bins |
An integer number of bins to use when binning across the two vectors' combined range. Defaults to 100. |
A double (of length 1) representing the JSD between the two vectors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.