gauss_random_field_sim: Gaussian random field neutral model

gauss_random_field_simR Documentation

Gaussian random field neutral model

Description

Simulates a gaussian random field as a neutral landscape of the same extent and resolution as the input raster, using the same spatial autocorrelation range as the input

Usage

gauss_random_field_sim(x, autocorr_range)

Arguments

x

A SpatRaster object.

autocorr_range

Distance range of spatial autocorrelation.

Value

A SpatRaster object with boundary elements.

Author(s)

Amy Luo

References

James, P. M. A., Fleming, R.A., & Fortin, M.-J. (2010) Identifying significant scale-specific spatial boundaries using wavelets and null models: Spruce budworm defoliation in Ontario, Canada as a case study. Landscape Ecology, 6, 873-887.

Examples


data(grassland)
grassland <- terra::rast(grassland_matrix, crs = grassland_crs)
terra::ext(grassland) <- grassland_ext

simulation <- gauss_random_field_sim(grassland, 3)
terra::plot(simulation)



BoundaryStats documentation built on Aug. 8, 2025, 6:12 p.m.