Description Usage Arguments Details Value Examples

`calculateEuclideanDistance`

Computes the euclidean distance betwen all pairs of nodes provided in the input vector.

1 |

`data` |
2D data structure for latitute and longitute respectively. |

Computes the euclidean distance, *√{(x_1-x_2)^2 + (y_1-y_2)^2}*, matrix between each pair of points.

Matrix, of size *nrow(data) \times nrow(data)*, with the distance between all the pair of points.

1 2 3 | ```
fileInput <- system.file("testdata", "chen.csv", package="Irescale")
data<-loadFile(fileInput)
distM<-calculateEuclideanDistance(data$data)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.