| local_multigeary | R Documentation | 
The function to apply local Multivariate Geary statistics
local_multigeary(
  w,
  df,
  permutations = 999,
  permutation_method = "complete",
  significance_cutoff = 0.05,
  cpu_threads = 6,
  seed = 123456789
)
w | 
 An instance of Weight object  | 
df | 
 A data frame with selected variables only. E.g. guerry["Crm_prs"]  | 
permutations | 
 (optional) The number of permutations for the LISA computation  | 
permutation_method | 
 (optional) The permutation method used for the LISA computation. Options are ('complete', 'lookup'). Default is 'complete'.  | 
significance_cutoff | 
 (optional) A cutoff value for significance p-values to filter not-significant clusters  | 
cpu_threads | 
 (optional) The number of cpu threads used for parallel LISA computation  | 
seed | 
 (optional) The seed for random number generator  | 
An instance of LISA-class
library(sf)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- st_read(guerry_path)
queen_w <- queen_weights(guerry)
data <- guerry[c('Crm_prs','Crm_prp','Litercy','Donatns','Infants',
'Suicids')]
lisa <- local_multigeary(queen_w, data)
lms <- lisa_clusters(lisa)
lms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.