calculateLocalI {Irescale} | R Documentation |
calculateLocalI
calculates the local Moran's I without rescaling
calculateLocalI(z, distM, scaling = TRUE)
z |
vector with the var of interest |
distM |
distance matrix |
scaling |
to scale the variable of interest. The default value is set to TRUE |
a vector with the local Moran's I
fileInput <- system.file("testdata", "chen.csv", package="Irescale")
input <- loadFile(fileInput)
distM<-calculateEuclideanDistance(input$data)
localI<-calculateLocalI(input$varOfInterest,distM)