14.5 spdep package

spdep package: spatial dependence

  • nb class for neighbor

    • list of length 0L for no neighbors
  • listw object

    1. nb object
    2. list of numerical weights
    3. how the weights were calculated
  • spatialreg package now has the functions for constructing and handling neighbour and spatial weights objects, tests for spatial autocorrelation, and model fitting functions that used to be in spdep