This function takes an existing sf
object and returns a random sub-sample of size nSamp
.
sample_existing_srs(existing, nSamp, filename = NULL, overwrite = FALSE)
A data frame or spatial data frame containing the random sample.
sf 'POINT'. Existing plot network.
Numeric. Number of desired samples.
Character. Path to write output samples.
Logical. Choice to overwrite existing filename
if it exists.