loadFile: Loads a file with latitude, longitude and variable of...

Description Usage Arguments Value Examples

View source: R/rectifiedI.R

Description

loadFile loads the input file with the following format:

Usage

1
loadFile(fileName)

Arguments

fileName

the file's name and path.

Value

it returns a data frame with two variables data and varOfInterest. The variable data is a 2D list with the latitude and longitude respectly, while the variable varOfInterest is a matrix with all the variables to calculate and rescale Moran's I.

Examples

1
2
fileInput <- system.file("testdata", "chessboard.csv", package="Irescale")
data<-loadFile(fileInput)

Example output



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