sampling_grids {mobsim} | R Documentation |
Creates square quadrats aligned on a regular grid
Description
Creates square quadrats aligned on a regular grid
Usage
sampling_grids(
n_quadrats,
xmin,
xmax,
ymin,
ymax,
x0,
y0,
delta_x,
delta_y,
quadrat_size
)
Arguments
n_quadrats |
(integer) Number of sampling quadrats |
xmin |
(numeric) minimum possible value on the x axis a quadrat can cover. |
xmax |
(numeric) maximum possible value on the x axis a quadrat can cover. |
ymin |
(numeric) minimum possible value on the y axis a quadrat can cover. |
ymax |
(numeric) maximum possible value on the y axis a quadrat can cover. |
x0 , y0 |
(numeric value) Lower left corner of the first quadrat in transect and grid sampling |
delta_x |
(numeric value) Distance between consecutive quadrats in transect and grid sampling in x-direction (the distance between the left sides is measured) |
delta_y |
(numeric value) Distance between consecutive quadrats in transect and grid sampling in y-direction (the distance between the lower sides is measured) |
quadrat_size |
(numeric) width of the quadrats. |
Value
a data.frame with 2 columns x and y giving the coordinates of the lower left corner of the square quadrats.