The scientific advancement in this particular topic is not that far (since it's relatively new) but the attachment is exactly what you are looking for. Hope that helps.
You might use glm with family=binomial using as covariates the proportions of the neighbours, which you could extract from you shp file (if your spatial objects are poliginals) using the function poly2nb.