R tutorial for Spatial Statistics