Tools for hotspot mapping in R