randomStudyArea {SpaDES.tools} | R Documentation |
Create default study areas for use with SpaDES
modules
Description
Create default study areas for use with SpaDES
modules
Usage
randomStudyArea(center = NULL, size = 10000, seed = NULL)
Arguments
center |
|
size |
Numeric specifying the approximate size of the area in m^2.
Default |
seed |
Numeric indicating the random seed to set internally (useful for ensuring the same study area is produced each time). |
Value
SpatVector
Examples
a <- randomStudyArea(seed = 123)
if (interactive()) {
terra::plot(a)
}
[Package SpaDES.tools version 2.0.7 Index]