View source: R/med.lag.listw.R
med.lag.listw | R Documentation |
Using a listw
sparse representation of a spatial weights matrix, compute the lag vector W x
med.lag.listw(listw, x)
listw |
listw object |
x |
a numeric vector the same length as the neighbours list in listw |
a numeric vector the same length as var
med.lag.listw(sampledata$w,sampledata$x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.