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