Description Usage Arguments Value Examples
calculateLocalI
calculates the local Moran's I without rescaling
1 | 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
1 2 3 4 | fileInput <- system.file("testdata", "chen.csv", package="Irescale")
input <- loadFile(fileInput)
distM<-calculateEuclideanDistance(input$data)
localI<-calculateLocalI(input$varOfInterest,distM)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.