The function to make local join count cluster maps.
1 2 3 4 5 6 7 8 |
polys |
An sf dataframe |
xname |
string, the name of the x variable, this variable must be contained in the sf dataframe |
yname |
string, the name of the y variable, this variable must be contained in the sf dataframe, default option is NULL |
weights |
weights structure from spdep, must be style "B"; default is set equal to NULL, and first order queen contiguity weights are used to construct the map |
permutations |
numeric, number of permutations the conditional randimization approach to significance, maximum is 99999, default is 999 |
alpha |
numeric, cut-off level of significance, must be between 0 and 1, the default is .05 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.