This function finds the Euclidean distance between two points in a data frame.
dfEuclidean(df, i, j, pointCoords = c(1, 2), replaceZero = 0)A numeric value.
A data frame containing the coordinates of the points.
Row name or index.
Row name or index
The row names or indices of point coordinates.
Value to replace zero with. If set to 0, no replacement will occur.