RDH: An R package for the analysis of spatial data