Skip to contents

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 sf with the corresponding landscape columns.

y

The object resulting of a simulation previously carried on x using spwb_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.

Author

Miquel De Cáceres Ainsa, CREAF.