View source: R/nlm_mosaicgibbs.R
| nlm_mosaicgibbs | R Documentation | 
Simulate 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 | 
 [  | 
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).
RasterLayer
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.