powered by
Fast vectorised Euclidean distance calculator
fastDist(x, squared = FALSE)
Matrix with vectors in columns.
Will not perform the square root, i.e. will return the squared `L2-norm'.
Returns a matrix of pairwise distances
Calculates Euclidean distances between vectors arranged as columns in a matrix.
# NOT RUN { dist <- fastDist(x) # }
Run the code above in your browser using DataLab