Updates the state of a spatial object 'x' according to the final state in simulation outcome 'y'

update_landscape(x, y)

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.

Value

An object of class sf with modified state variables.

Author

Miquel De Cáceres Ainsa, CREAF.