KLD.matrix(x, ...)
KLD.matrix
:
locfit
or density
to estimate integrand;
default is c("locfit", "density")(i.e. both methods).
dist
with the pairwise, between rows,
Kullback-Leibler distances.
sample
is TRUE
.The presumption is that all samples have the same number of observations. The list method is meant for use when samples sizes are unequal.
cor.dist
, spearman.dist
,
tau.dist
, dist
,
KLdist.matrix
, mutualInfo
x <- matrix(rnorm(100), nrow = 5)
KLD.matrix(x, method = "locfit", supp = range(x))
Run the code above in your browser using DataLab