powered by
This function creates a raster series with some setup like the layer name and the sample value for the lulc
.demo_landscape( year, nrows = 100, ncols = 100, res = 1, xmn = 0, xmx = 100, ymn = 0, ymx = 100, crs = NA, category = 1:5, prob = NULL )
list
numeric. A vector of year, first and last included.
numeric. nrows of the raster to be created.
numeric. ncols of the raster to be created.
numeric. the resolution of the raster to be created.
numeric. x minimum extent.
numeric. x maximum extent.
numeric. y minimum extent.
numeric. y maximum extent.
character. the coordinate referencing system.
A numeric vector of the raster categories.
A numeric vector of the probability of occurrence for the category list.
raster
.demo_landscape(year = 2000:2005, res = 1, crs = "+proj=utm +zone=21 +south +ellps=GRS80 +units=m +no_defs")
Run the code above in your browser using DataLab