arma_dist {spBPS} | R Documentation |
Compute the Euclidean distance matrix
Description
Compute the Euclidean distance matrix
Usage
arma_dist(X)
Arguments
X |
matrix (tipically of |
Value
matrix distance matrix of the elements of X
Examples
## 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)
[Package spBPS version 0.0-4 Index]