clustered_sample.Rd
Simulates clustered samples by simulating a number of randomly sampled clusters, and then randomly simulate points within a buffer of the clusters.
clustered_sample(x, size, nclusters, radius, ...)
sf/sfc polygon where samples will be simulated.
Number of samples to create.
Number of clusters to simulate.
Radius of the buffer for intra-cluster simulation.
Additional arguments passed to terra::spatSample()
.