Description Usage Arguments Value Examples

`calculateManhattanDistance`

Calculates the manhattan distance between each pair of nodes.

1 |

`data` |
2D structure with n rows and 2 colums that represents the coordinate in a plane. |

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

1 2 3 | ```
fileInput <- system.file("testdata", "chessboard.csv", package="Irescale")
data<-loadChessBoard(fileInput)
distM<-calculateManhattanDistance(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.