A Tutorial on Modelling Geographic, Economic and Social Interactions Using GIS Methods with R