nlm_mosaicgibbs.RdSimulate a neutral landscape model using the Gibbs algorithm introduced in Gaucherel (2008).
nlm_mosaicgibbs(ncol, nrow, resolution = 1, germs, R, patch_classes, rescale = TRUE)
| ncol | [ |
|---|---|
| nrow | [ |
| resolution | [ |
| germs | [ |
| R | [ |
| patch_classes | [ |
| rescale | [ |
RasterLayer
nlm_mosaicgibbs offers the second option of simulating a neutral landscape model
described in Gaucherel (2008).
The method works in principal like the tessellation method (nlm_mosaictess),
but instead of a random point pattern the algorithm fits a simulated realization of the Strauss
process. The Strauss process starts with a given number of points and
uses a minimization approach to fit a point pattern with a given interaction
parameter (0 - hardcore process; 1 - Poisson process) and interaction radius
(distance of points/germs being apart).
Gaucherel, C. (2008) Neutral models for polygonal landscapes with linear networks. Ecological Modelling, 219, 39 - 48.
# simulate polygonal landscapes mosaicgibbs <- nlm_mosaicgibbs(ncol = 40, nrow = 30, germs = 20, R = 0.02, patch_classes = 12)# NOT RUN { # visualize the NLM landscapetools::show_landscape(mosaicgibbs) # }