mod_random_clust_sim {BoundaryStats} | R Documentation |
Modified random cluster neutral landscape model
Description
Simulates a neutral landscape of the same extent and resolution as the input raster, with the same distribution of values.
Usage
mod_random_clust_sim(x, p)
Arguments
x |
A SpatRaster object. |
p |
The proportion of cells to be marked in percolated raster. Higher values of p produce larger clusters. |
Value
A SpatRaster object with boundary elements.
Author(s)
Amy Luo
References
Saura, S. & Martínez-Millán, J. (2000) Landscape patterns simulation with a modified random clusters method. Landscape Ecology, 15, 661 – 678.
Examples
data(grassland)
grassland <- terra::rast(grassland_matrix, crs = grassland_crs)
terra::ext(grassland) <- grassland_ext
simulation <- mod_random_clust_sim(grassland, p = 0.6)
terra::plot(simulation)
[Package BoundaryStats version 2.1.1 Index]