man {bioDist} | R Documentation |
Calculate pairwise Manhattan distances for all rows of a matrix and
save as a dist
object.
man(x, diag = FALSE, upper = FALSE)
x |
A matrix. |
diag |
If TRUE , the diagonal of the distance matrix will
be displayed |
upper |
If TRUE , the upper triangle of the distance matrix will
be displayed |
This is just an interface to dist
with the right parameters set.
An instance of the dist
class with the pairwise Manhattan distances
between the rows of x
.
Beiying Ding
cor.dist
, spearman.dist
,
tau.dist
,euc
, KLdist.matrix
,
KLD.matrix
,mutualInfo
x <- matrix(rnorm(200), nrow = 5) man(x)