R/spatial.R
gap_fill_raster.Rd
Gap-fill rasters with value based on function and mask
gap_fill_raster(r, fxn = "min", r_mask = r_pu_id, debug = F)
raster input
function, default="min"
raster mask, default=r_pu_id
raster after filling NAs with result of function and mask