Description Usage Arguments Details References Examples
View source: R/nlm_gaussianfield.R
Simulates a spatially correlated random fields (Gaussian random fields) neutral landscape model.
1 2 3 4 5 6 7 8 9 10 11 |
ncol |
[ |
nrow |
[ |
resolution |
[ |
autocorr_range |
[ |
mag_var |
[ |
nug |
[ |
mean |
[ |
user_seed |
[ |
rescale |
[ |
Gaussian random fields are a collection of random numbers on a spatially discrete set of coordinates (landscape raster). Natural sciences often apply them with spatial autocorrelation, meaning that objects which distant are more distinct from one another than they are to closer objects.
Kéry & Royle (2016) Applied Hierarchical Modeling in Ecology Chapter 20
1 2 3 4 5 6 7 8 9 10 11 | # simulate random gaussian field
gaussian_field <- nlm_gaussianfield(ncol = 90, nrow = 90,
autocorr_range = 60,
mag_var = 8,
nug = 5)
## Not run:
# visualize the NLM
landscapetools::show_landscape(gaussian_field)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.