| tau.dist {bioDist} | R Documentation |
Calculate pairwise Kendall's tau correlational distances, i.e. 1-TAU or 1-|TAU|,
for all rows of the input matrix and return an instance of the
dist class.
tau.dist(x, abs = TRUE, diag = FALSE, upper = FALSE)
x |
n by p matrix |
abs |
if TRUE, then 1-|TAU| else 1-TAU |
diag |
if TRUE, diagonal of the distance matrix will be displayed |
upper |
if TRUE, upper triangle of the distance matrix will be displayed |
Row-wise correlations are computed by calling the cor function
with the appropriate arguments.
One minus the row-wise Kendall's tau correlations are returned as an
instance of the dist class.
Beiying Ding
cor.dist, spearman.dist,
euc, man, KLdist.matrix,
KLD.matrix, mutualInfo
x <- matrix(rnorm(200), nrow=5) tau.dist(x)