Precipitation mapping and spatial analysis using R