kl | R Documentation |
Get the KL Divergence between two discrete distributions
kl(x, y, ...)
## Default S3 method:
kl(x, y, ...)
## S3 method for class 'tables'
kl(x, y, ...)
x , y |
vectors (of probabilities) |
... |
other arguments to methods |
a numberic value, vector or matrix of KL-divergences.
kl(default)
: Default method for vectors
kl(tables)
: Method for tables
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.