euclidean | 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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.