R/SpatialWeightOperators.R
LagOperator.Rd
\(W^k x\), spdep::lag.listw applied k times.
spdep::lag.listw
LagOperator(W, x, power = 1L)
Spatial weights matrix.
Numeric vector.
Order k (non-negative).
LagOperator(matrix(c(0, 1, 0, .5, 0, .5, 0, 1, 0), 3, byrow = TRUE), c(1, 2, 4)) #> [1] 2.0 2.5 2.0