Description Usage Arguments Value
Function to compute the p-value of the observed local G and G* statistics under the conditional randomizaton approach
1 | local_g_pvalue(x, weights, permutations = 999, type = "g")
|
x |
A vector of numerical values |
weights |
Weights structure from spdep, must be style "B" |
permutations |
Number of permutations, the default is 999 |
type |
String, type of Local G statistic, options are "g" or "gstar" |
pvalue A vector of p-values for each locations local geary statistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.