quad | R Documentation |
Compute the position of a spatial unit and its neihbors in the MOran Scatter Plot
quad(x, W, y, geoda = TRUE)
x |
a vector |
W |
a |
y |
a vector, use it in case that the lag must be compute in another variable. |
geoda |
logial. If True use GeoDa quadrant scheme: HH=1, LL=2, LH=3, HL=4. If False use PySAL quadrant Scheme: HH=1, LH=2, LL=3, HL=4 |
explain here what is the geoda
a vector
data(Guerry)
w1queen<-nb2listw(poly2nb(Guerry))
quad(Guerry$pc1,w1queen)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.