nlm_randomrectangularcluster.Rd
Simulates a random rectangular clusters neutral landscape model with values ranging 0-1.
nlm_randomrectangularcluster(ncol, nrow, resolution = 1, minl, maxl, rescale = TRUE)
ncol | [ |
---|---|
nrow | [ |
resolution | [ |
minl | [ |
maxl | [ |
rescale | [ |
RasterLayer
The random rectangular cluster algorithm starts to fill a raster randomly
with rectangles defined by minl
and maxl
until the surface
of the landscape is completely covered.
This is one type of realisation of a "falling/dead leaves" algorithm,
for more details see Galerne & Gousseau (2012).
Gustafson, E.J. & Parker, G.R. (1992). Relationships between landcover proportion and indices of landscape spatial pattern. Landscape ecology, 7, 101–110. Galerne B. & Gousseau Y. (2012). The Transparent Dead Leaves Model. Advances in Applied Probability, Applied Probability Trust, 44, 1–20.
# simulate random rectangular cluster randomrectangular_cluster <- nlm_randomrectangularcluster(ncol = 50, nrow = 30, minl = 5, maxl = 10)# NOT RUN { # visualize the NLM landscapetools::show_landscape(randomrectangular_cluster) # }