Mask covariates and existing samples by access
mask_access(raster, access, buff_inner = NULL, buff_outer)mask_existing(access, existing, buff_inner = NULL, buff_outer)
Raster/existing samples masked by provided access
layer and buffers.
SpatRaster. Raster to be masked.
sf 'LINESTRING' or 'MULTILINESTRING'. Access network.
Numeric. Inner buffer boundary specifying distance from access where plots cannot be sampled.
Numeric. Outer buffer boundary specifying distance from access where plots can be sampled.
sf 'POINT'. Existing plot network.