Sample a single SpatVector polygon at a target density in "samples / acre".
sample.by.poly(
  p,
  n.pts.per.ac = 1,
  min.samples = 5,
  sampling.type = "regular",
  p4s = NULL
)SpatVector containing a single polygon feature
numeric, sampling density in "points per acre"
integer, enforced minimum number of samples per polygon
sampling.type character, sampling type passed to terra::spatSample()
output from terra::crs()
SpatVector of sample points