euclidean {emu} | R Documentation |
Finds the inter-euclidean distance for a data matrix
euclidean(data, m=1, n=ncol(data))
data |
A vector or matrix of numerical data. |
m |
The first column of data to be used in the distance calculation. |
n |
The last column of data to be used in the distance calculation. |
Calculates the euclidean distance between successive rows of the matrix based on columns m:n.
steady
euclidean(cbind(c(1,2,3,4), c(2,3,2,2)))