plot_summary {medfateland}R Documentation

Displays spatial simulation summaries

Description

Produces graphical output of the summaries of a simulation models

Usage

plot_summary(x, variable, date, r = NULL, ...)

Arguments

x

An object of class sf, with simulation summaries.

variable

The variable to be drawn.

date

The date of the summary to be plotted.

r

An object of class SpatRaster, defining the raster topology.

...

Additional parameters (passed to scale definition, such as limits).

Details

Appropriate values for x can originate from calls to simulation_summary. Alternatively, if summary functions were specified at the time of performing simulations, the result of the spatial simulation function (e.g. spwb_spatial) will already contain the summaries. A special case is made for spwb_land and growth_land, that are accepted inputs as x, because its element 'sf' is used.

Value

An object of class ggplot.

Author(s)

Miquel De Cáceres Ainsa, CREAF.

See Also

spwb_spatial, simulation_summary


[Package medfateland version 2.4.5 Index]