Adjust selection weighting
Usage
downweight_selection_pr(
sample_locs,
scalingFactor,
sigma_value,
selection_column = NULL,
fun = "cauchy",
existing_sampling = NULL,
dmat = NULL
)
Arguments
- sample_locs
sf object with the selection weighting column (polygons or points)
- scalingFactor
scaling factor to downweight
- sigma_value
sigma value of distribution effect for existing sampling. Larger value means sampling has wider effect
- selection_column
Column with sampling weights to be adjusted. If null return only the weights.
- fun
Type of decay function. Current options are 'cauchy', 'normal' or 'exp'
- existing_sampling
exisint sampling to down weight around (points)
- dmat
distance matrix from sample locations (rows) to existing sampling (columns)