Creates coordinates (lower left corner of a quadrat) randomly distributed that may overlap each other
sampling_random_overlap(
n_quadrats,
min_dist,
xmin,
xmax,
ymin,
ymax,
seed = NULL
)
a data.frame with 2 columns x and y giving the coordinates of the lower left corner of the square quadrats.
Number of sampling quadrats
(numeric) minimal distance between two points to avoid overlap. Equal to the length of a quadrat diagonal
(numeric) minimum possible value on the x axis a quadrat can cover.
(numeric) maximum possible value on the x axis a quadrat can cover.
(numeric) minimum possible value on the y axis a quadrat can cover.
(numeric) maximum possible value on the y axis a quadrat can cover.
(integer) Any integer passed to set.seed
for reproducibility.