powered by
Finds the inter-euclidean distance for a data matrix
euclidean(data, m = 1, n = ncol(data))
A vector or matrix of numerical data.
The first column of data to be used in the distance calculation.
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
# NOT RUN { euclidean(cbind(c(1,2,3,4), c(2,3,2,2))) # }
Run the code above in your browser using DataLab