Description Usage Arguments Value
View source: R/choose_batch_simple.R
Function to take a spatially disaggregated sample weighted by values at points (e.g. uncertainty)
1 2 | choose_batch_simple(point_data, batch_size, uncertainty_fieldname,
candidate)
|
point_data |
an sf object containing points |
batch_size |
number of sampled points required |
uncertainty_fieldname |
column name of the field by which sampling should be weighted |
candidate |
Boolean vector of length equal to the number of points in 'point_data' representing whether a point should be considered a candidate for sampling or not |
index of the row numbers of 'point_data' included in the sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.