nlm_fbm | R Documentation |
Creates a two-dimensional fractional Brownian motion neutral landscape model.
nlm_fbm( ncol, nrow, resolution = 1, fract_dim = 1, user_seed = NULL, rescale = TRUE, ... )
ncol |
[ |
nrow |
[ |
resolution |
[ |
fract_dim |
[ |
user_seed |
[ |
rescale |
[ |
... |
Other options to RandomFields::RFoptions, especially if using
a fractal dimension between ~ 1.6 and 1.9 one must set the option
|
Neutral landscapes are generated using fractional Brownian motion,
an extension of Brownian motion in which the amount of correlation between
steps is controlled by frac_dim
. A high value of frac_dim
produces a
relatively smooth, correlated surface while a low value produces a rough, uncorrelated one.
RasterLayer
Travis, J.M.J. & Dytham, C. (2004). A method for simulating patterns of habitat availability at static and dynamic range margins. Oikos , 104, 410–416.
Martin Schlather, Alexander Malinowski, Peter J. Menck, Marco Oesting, Kirstin Strokorb (2015). nlm_fBm. Journal of Statistical Software, 63(8), 1-25. URL http://www.jstatsoft.org/v63/i08/.
# simulate fractional brownian motion fbm_raster <- nlm_fbm(ncol = 20, nrow = 30, fract_dim = 0.8) ## Not run: # visualize the NLM landscapetools::show_landscape(fbm_raster) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.