Description Usage Arguments Value Examples
View source: R/specc.R View source: R/hclust.R
Compute matrix of pairwise Euclidean distance between observations
Compute matrix of pairwise Euclidean distance between observations
1 2 3 |
data.matrix |
Data matrix of n observations |
nxn matrix with Euclidean distance between observation a and observation b located at [ a,b ] and [ b,a ]
nxn matrix with Euclidean distance between observation a and observation b located at [ a,b ] and [ b,a ]
1 2 | pairwiseDistance(as.matrix(iris[,1:4]))
pairwiseDistance(as.matrix(iris[1:50,1:4]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.