relative.entropy.matrix.md
Relative Entropy
Description
safe_relative.entropy <- function(x, y, ...) {
stopifnot(
!anyNA(x), !anyNA(y),
length(x) == length(y)
)
relative.entropy(x, y, ...)
}Usage
## S3 method for class 'matrix'
relative.entropy(pk, qk, dim = 0L, normalize = FALSE, ...)Arguments
Value
References
Examples
Last updated