Description Usage Arguments Value Examples
The function to apply local Multivariate Join Count statistics
1 2 3 4 5 6 7 8 | local_multijoincount(
w,
data,
permutations = 999,
significance_cutoff = 0.05,
cpu_threads = 6,
seed = 123456789
)
|
w |
An instance of Weight object |
data |
A list of numeric values of selected variables |
permutations |
The number of permutations for the LISA computation |
significance_cutoff |
A cutoff value for significance p-values to filter not-significant clusters |
cpu_threads |
The number of cpu threads used for parallel LISA computation |
seed |
The seed for random number generator |
lisa_obj An instance of LISA (LocalSpatialAutocorrelation) object
1 2 3 4 5 6 7 8 | guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- geoda_open(guerry_path)
queen_w <- queen_weights(guerry)
guerry_df <- as.data.frame(guerry) # use as data.frame
bin_data <- guerry_df[c('TopWealth','TopWealth', 'TopLit')]
lisa <- local_multijoincount(queen_w, bin_data)
clsts <- lisa_clusters(lisa)
clsts
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.