Learn R Programming

mobsim (version 0.3.2)

sampling_one_quadrat: Creates one square quadrat randomly located in the landscape

Description

Creates one square quadrat randomly located in the landscape

Usage

sampling_one_quadrat(xmin, xmax, ymin, ymax, seed = NULL)

Value

a data.frame with 2 columns x and y giving the coordinates of the lower left corner of the square quadrat.

Arguments

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.

seed

(integer) Any integer passed to set.seed for reproducibility.