[numerical(1)]
Number of columns forming the raster.
nrow
[numerical(1)]
Number of rows forming the raster.
resolution
[numerical(1)]
Resolution of the raster.
rescale
[logical(1)]
If TRUE (default), the values are rescaled between 0-1.
Value
RasterLayer
Details
The function takes the number of columns and rows as input and creates a
RasterLayer with the same extent. Each raster cell is randomly assigned a
value between 0 and 1 drawn from an uniform distribution (runif(1,0,1)).
# NOT RUN {# simulate spatially random modelrandom <- nlm_random(ncol = 200, nrow = 100)
# }# NOT RUN {# visualize the NLMlandscapetools::show_landscape(random)
# }# NOT RUN {# }