nlm_gaussianfield.Rd
Simulates a spatially correlated random fields (Gaussian random fields) neutral landscape model.
nlm_gaussianfield(ncol, nrow, resolution = 1, autocorr_range = 10, mag_var = 5, nug = 0.2, mean = 0.5, user_seed = NULL, rescale = TRUE)
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
# 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) # }