lisa_values {rgeoda} | R Documentation |
Get LISA values
Description
Get the local spatial autocorrelation values returned from LISA computation
Usage
lisa_values(gda_lisa)
Arguments
gda_lisa |
An instance of LISA object |
Value
A numeric vector of local spatial autocorrelation
Examples
## Not run:
library(sf)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- st_read(guerry_path)
queen_w <- queen_weights(guerry)
lisa <- local_moran(queen_w, guerry["Crm_prs"])
lms <- lisa_values(lisa)
lms
## End(Not run)
[Package rgeoda version 0.0.10-4 Index]