sim_land: Generate simulated landscapes

View source: R/fidelity_funs_simulate-landscapes.R

sim_landR Documentation

Generate simulated landscapes

Description

Function to generate one or a set of simulated landscapes of user-specified extent, resolution, origin, and spatial properties (contagion and heterogeneity)

Usage

sim_land(res, ext, orig, kappa, chi)

Arguments

res

Numeric. Resolution of the raster (units match the units of the coordinates, m if UTM and degrees if lat/long)

ext

Numeric. Raster extent (units match the units of the coordinates, m if UTM and degrees if lat/long)

orig

Named vector of x and y coordinates of the center of the raster.

kappa

Numeric vector (any length) of contagion values to simulate.

chi

Numeric vector (any length) of heterogeneity values to simulate.

Value

Raster or RasterStack of simulated landscapes. As many as length(kappa) * length(chi).


picardis/fidelity documentation built on Dec. 10, 2022, 6:16 a.m.