Package for analysis of spatial data