Simulate spatially auto-correlated data using Gaussian random fields.
Arguments
- x
terra::rast()object to use as a template.- n
integervalue denoting the number of layers to simulate. Defaults to 1.- scale
numericvalue denoting the level of spatial auto-correlation in the simulated data. Defaults to 0.5.- intensity
numericvalue denoting the average value of simulated data. Defaults to 0.- sd
numericvalue denoting the standard deviation of simulated data. Defaults to 1.- transform
functionto transform simulated data. Defaults to theidentity()function such that values remain the same after simulation.
Value
A terra::rast() object.
See also
Other functions for simulating data:
simulate_cost(),
simulate_species()

