euclidean {emuR} | R Documentation |
Find the inter-euclidean distance for a data matrix
Description
Finds the inter-euclidean distance for a data matrix
Usage
euclidean(data, m = 1, n = ncol(data))
Arguments
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. |
Value
Calculates the euclidean distance between successive rows of the matrix based on columns m:n.
See Also
steady
Examples
euclidean(cbind(c(1,2,3,4), c(2,3,2,2)))
[Package emuR version 2.5.0 Index]