Description Usage Arguments Value Examples
Loads a distance matrix. Instead of computing the distance from latitute and longitude
LoadDistanceMatrix
Loads the distance matrix, avoiding computing it from latitude and longitude.
1 | loadDistanceMatrix(fileName, colnames = TRUE, rownames = TRUE)
|
fileName |
file's name and path to the file |
colnames |
If the first row of the file is the names for the columns. The default value is TRUE |
rownames |
If the first column is the the row names. The default value is TRUE |
The distance matrix
1 2 | fileInput <- system.file("testdata", "chenDistance.csv", package="Irescale")
distM<-loadDistanceMatrix(fileInput)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.