View source: R/simulation_summary.R
simulation_summary | R Documentation |
Creates spatial objects containing summaries of simulations
simulation_summary(object, summary_function, ...)
object |
An object of class 'sf' simulation results (e.g. the result of calling |
summary_function |
The summary function to be executed on simulation results (see details). |
... |
Additional parameters to the summary function. |
The function supplied should take as input an object of local simulation function, i.e. spwb
, growth
, or fordyn
.
The output should be a matrix with dates as rows and variables in columns.
An example of suitable function is summary.spwb
.
An object of class sf
, with the following two elements:
geometry
: Spatial geometry.
id
: Stand id, taken from the input.
summary
: A list of model output summaries for each simulated location.
Miquel De Cáceres Ainsa, CREAF.
spwb_spatial
, plot_summary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.