Finally the R package SPACOM for creating spatially weighted context data for multilevel modelling is now officially published and available on CRAN.
Click here to access the page or download the guidebook
This package allows to easily create collective indicators weighted by proximity indexes and it implements them into multilevel linear regression models. Proximity indexes may be constructed from survey and attitudinal data, introducing into the model different definition of “distance”: psychological distance, ethinc distance, social distance.