View source: R/fidelity_funs_simulate-landscapes.R
sim_land | R Documentation |
Function to generate one or a set of simulated landscapes of user-specified extent, resolution, origin, and spatial properties (contagion and heterogeneity)
sim_land(res, ext, orig, kappa, chi)
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. |
Raster
or RasterStack
of simulated landscapes. As many
as length(kappa) * length(chi)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.