arma_dist | R Documentation |
Compute the Euclidean distance matrix
arma_dist(X)
X |
matrix (tipically of |
matrix distance matrix of the elements of X
## Compute the Distance matrix of dimension (n x n)
n <- 100
p <- 2
X <- matrix(runif(n*p), nrow = n, ncol = p)
distance.matrix <- arma_dist(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.