Description Usage Arguments Details Value References Examples
View source: R/nlm_mosaicgibbs.R
Simulate a neutral landscape model using the Gibbs algorithm introduced in Gaucherel (2008).
1 2 3 4 5 6 7 8 9 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 | # 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.