Description Usage Arguments Value Note Author(s) See Also
This function computes and returns the distance matrix computed by using the specified distance measure to compute the distances between the rows of a data matrix.
1 2 3 4 5 6 7 |
x |
a numeric matrix, data frame or "dist" object. |
meth |
the distance measure to be used. This must be one of "pearson","spearman","euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". Any unambiguous substring can be given. |
use |
method for computing covariance when NAs, choice between "pairwise.complete.obs", "all.obs" and "complete.obs" (cf cor function parameter) |
diag |
logical value indicating whether the diagonal of the distance matrix should be printed |
upper |
logical value indicating whether the upper triangle of the distance matrix should be printed |
p |
the power of the Minkowski distance. |
replaceNA |
a boolean indicating if NA value should be replace by |
required
This is a contribution from the Tumor Identity Cards (CIT) program founded by the 'Ligue Nationale Contre le Cancer' (France): http://cit.ligue-cancer.net. For any question please contact CITR@ligue-cancer.net
Aurelien de Reynies, Mickael Guedj
dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.