Create default study areas for use with SpaDES
modules
randomStudyArea(center = NULL, size = 10000, seed = NULL)
SpatialPoints
object specifying a set of coordinates and
a projection. Default is an area in southern Alberta, Canada.
Numeric specifying the approximate size of the area in m^2.
Default 1e4
.
Numeric indicating the random seed to set internally (useful for ensuring the same study area is produced each time).
SpatVector
a <- randomStudyArea(seed = 123)
if (interactive()) {
terra::plot(a)
}