Description Usage Arguments Value Examples
loadFile
loads the input file with the following format:
Column 1 represents the sample Id. It has to be Unique.
Column 2,3 Lat/Long respectively.
Column 4 and beyond the variables of interest.
1 | loadFile(fileName)
|
fileName |
the file's name and path. |
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.
1 2 | fileInput <- system.file("testdata", "chessboard.csv", package="Irescale")
data<-loadFile(fileInput)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.