KLdist.matrix {bioDist} | R Documentation |
Calculate KLD by binning
KLdist.matrix(x, nbin = 10, symmetrize = FALSE, diag = FALSE, upper = FALSE)
x |
n by p matrix |
nbin |
number of bins to calculate discrete probabilities |
symmetrize |
if TRUE, then symmetrize |
diag |
if TRUE, diagonal of the distance matrix will be displayed |
upper |
if TRUE, upper triangle of the distance matrix will be displayed |
Pairwsie KLD object
Beiying Ding
cor.dist
, spearman.dist
,
tau.dist
,euc
,
man
,KLD.matrix
,mutualInfo
x <- matrix(rnorm(100), nrow=5) KLdist.matrix(x,symmetrize=TRUE, nbin=3)