Apply an inclusion radius and exclusion buffer to indices
buffer_indices(data, indices, radius, buffer, call = rlang::caller_env())An object of class sf or sfc.
List of indices in each fold generated by split_unnamed().
Numeric: points within this distance of the initially-selected
test points will be assigned to the assessment set. If NULL, no radius is
applied.
Numeric: points within this distance of any point in the
test set (after radius is applied) will be assigned to neither the analysis
or assessment set. If NULL, no buffer is applied.