loadDistanceMatrix: Loads a distance matrix. Instead of computing the distance...

Description Usage Arguments Value Examples

View source: R/rectifiedI.R

Description

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.

Usage

1

Arguments

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

Value

The distance matrix

Examples

1
2
fileInput <- system.file("testdata", "chenDistance.csv", package="Irescale")
distM<-loadDistanceMatrix(fileInput)

Irescale documentation built on Nov. 22, 2019, 1:07 a.m.