powered by
Calculate Wx, the spatially lagged version of x, by a neighbouring matrix W.
calcLaggedData(x, nblistw, method = "mean")
A lagged version of x
A dataframe with only numeric columns
The listw object (spdep like) used to calculate WY
A string indicating if a classical lag must be used ("mean") or if a weighted median must be used ("median")
#This is an internal function, no example provided
Run the code above in your browser using DataLab