Updates the state of a spatial object 'x' according to the final state in simulation outcome 'y'
Usage
update_landscape(
x,
y,
columns = c("state", "soil", "forest", "management_arguments", "aquifer", "snowpack",
"outlet_backlog")
)Arguments
- x
An object of class
sfwith the corresponding landscape columns.- y
The object resulting of a simulation previously carried on
xusingspwb_spatial,growth_spatial,spwb_land, etc.- columns
String vector with the names of columns to be modified
Value
An object of class sf with modified state variables.
