kl {contingency} | 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.
default
: Default method for vectors
tables
: Method for tables
object