Skip to contents

Create a Gradient SpatRaster for Environmental State

Usage

state_env_gradient(simulation_object, from = 0, to = 1)

Arguments

simulation_object

A SimulationObject containing the background layer.

from

The starting value of the gradient. Default is 0.

to

The ending value of the gradient. Default is 1.

Value

A SpatRaster representing the gradient environmental state.

Examples

if (FALSE) { # \dontrun{
sim_state <- state_env_gradient(simulation_object, from = 0, to = 1)
} # }