powered by
The function generates k-ahead and k-behind weighting matrices as in Kelejian and Prucha (1999)
circular(nrow, ncol, ab)
number of rows
number of columns
ahead - behind
An object of class nb.
nb
# NOT RUN { ab.4<-circular(10, 10, 3) # }
Run the code above in your browser using DataLab