knitr::opts_chunk$set(echo = TRUE, eval = FALSE)
SpaDES
?SpaDES
SpaDES
SpaDES
modelling needs, and start working on your module(s)SpaDES
SpaDES
modules;SpaDES
;Models are everywhere. Complex models pose several challenges.
Continuous adaptive management
periodic re-assessment of the status of a situation or issue (e.g., the amount of waste a company produces)
leads to the design and implementation of new solutions (e.g., recycling paper or using rain water)
Although this framework is ideal, it is only seldomly applied across the scientific community.
Why? Because we are yet far from developing our research in a way that is easily repeatable, "upgradeable" and shareable.
SpaDES
?Spatial Discrete Event Simulator
R
packagesSpaDES
...R
: a widely understood programming language, highly suited to statistical analyses, but flexible and fast enough to accommodate simulation work; SpaDES
...R
community if module-developers wish it so;Our question(s): how will forest fires affect forest age? And how will climate change affect fire regimes and in turn the vegetation? How will timber supply be affected?
alternatively, additional module could simulate climate change effects, which would feedback into both fire parameters and vegetation.
timber supply module could "read" the vegetation maps produced after fire simulations and calculate timber quantity and quality from forest conditions (e.g., surviving tree species and their age).
SpaDES
comes with a set of functions (via the reproducible
package) that enable caching model structure, parameters and simulation results.Because models are not just for modellers, a shiny app building package is being developed to transform any SpaDES
simulation into a web-app. This provides an interactive way of visualising results, as users can change simulation parameters and turn modules on and off, whilst observing how this impacts simulation results. Importantly, it can be particularly useful when conveying results to a non-expert or even the public.
shiny
web-app demosSpaDES
package):?SpaDES
SpaDES
SpaDES
way.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.