med.lag.listw: Robust spatial lag of a numeric vector

View source: R/med.lag.listw.R

med.lag.listwR Documentation

Robust spatial lag of a numeric vector

Description

Using a listw sparse representation of a spatial weights matrix, compute the lag vector W x

Usage

med.lag.listw(listw, x)

Arguments

listw

listw object

x

a numeric vector the same length as the neighbours list in listw

Value

a numeric vector the same length as var

Examples

med.lag.listw(sampledata$w,sampledata$x)

vincnardelli/robspdep documentation built on April 11, 2024, 10:30 a.m.