Interpolate geo-referenced point data using inverse path distance weighting.
ipdw(
sf_ob,
costras,
range,
paramlist,
overlapped = FALSE,
yearmon = "default",
removefile = TRUE,
step = 16,
dist_power = 1,
trim_rstack = FALSE
)
sf object with point geometries
RasterLayer. Cost raster
numeric. Range of interpolation neighborhood
character. String representing parameter names
logical. Default is FALSE, specify TRUE if some points lie on top of barriers
character. String specifying the name of the sf_ob
logical. Remove files after processing?
numeric. Number of sub loops to manage memory during raster processing.
numeric. Distance decay power (p)
logical. Trim the raster output by the convex hill of sf_ob
RasterLayer
This is a high level function that interpolates an sf object with point geometries in a single pass.
Points must be located within a single contiguous area. The presence of "landlocked" points will cause errors. It may be necessary to increase the value assigned to land areas when using a large range value in combination with a large sized cost rasters (grain x extent). In these cases, the value of land areas should be increased to ensure that it is always greater than the maximum accumulated cost path distance of any given geo-referenced point.
# see vignette