powered by
Simple function to return the Euclidean distance between two objects. Acts elementwise.
eucDist(x, y)
Numeric, elementwise Euclidean distance between x and y.
Numeric vector or matrix.
Numeric vector or matrix of same dimensions as x.
eucDist(c(0,0), c(1,1))
Run the code above in your browser using DataLab