calcLaggedData {geocmeans} | R Documentation |
Lagged Data
Description
Calculate Wx, the spatially lagged version of x, by a neighbouring matrix W.
Usage
calcLaggedData(x, nblistw, method = "mean")
Arguments
x |
A dataframe with only numeric columns |
nblistw |
The listw object (spdep like) used to calculate WY |
method |
A string indicating if a classical lag must be used ("mean") or if a weighted median must be used ("median") |
Value
A lagged version of x
Examples
#This is an internal function, no example provided
[Package geocmeans version 0.3.4 Index]