Gap-fill rasters with value based on function and mask

gap_fill_raster(r, fxn = "min", r_mask = r_pu_id, debug = F)

Arguments

r

raster input

fxn

function, default="min"

r_mask

raster mask, default=r_pu_id

Value

raster after filling NAs with result of function and mask