Description Usage Arguments Value Examples
Get the local spatial autocorrelation values returned from LISA computation
1 | lisa_values(gda_lisa)
|
gda_lisa |
An instance of LISA object |
data A numeric array of local spatial autocorrelation
1 2 3 4 5 6 7 8 9 10 | ## Not run:
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- geoda_open(guerry_path)
guerry_df <- as.data.frame(guerry) # use as data.frame
crm_prs <- guerry_df['Crm_prs'][,1] # get values of variable "crm_prs"
lisa <- local_moran(queen_w, crm_prs)
lms <- lisa_values(lisa)
lms
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.