Translate Models from System Dynamics Software into 'R'
Create a Stan's ODE function from an XMILE file
Expit transformation
Extract the values over time of a stock from a Stan fit
Extract the values over time of a variable from a Stan fit
Inverse of a number
Logit transformation
Read an XMILE file into R
Objects exported from other packages
Create Stan file for Bayesian inference
Summarise the information of a model's constants in a data frame
Function factory for SBC
Fixed delay
Construct inputs for performing structural analysis via the impact met...
Interpret estimates
Generate a log-likelihood function for an SD model
Generate measurements
Estimate the net change of a stock in discrete times
Posterior function
SD prior
Prior predictive checks
Replicate the behaviour of the PULSE function from Stella
PULSE TRAIN
Replicate the behaviour of the PULSE function from Vensim
Perform a sensitivity run on a System Dynamics model
Simulate a System Dynamics model
Summarise the information of a model's stocks in a data frame
What if from time t we change the value of some parameters
Create Stan ODE function
Parse XMILE to deSolve components
The goal of 'readsdr' is to bridge the design capabilities from specialised System Dynamics software with the powerful numerical tools offered by 'R' libraries. The package accomplishes this goal by parsing 'XMILE' files ('Vensim' and 'Stella') models into 'R' objects to construct networks (graph theory); 'ODE' functions for 'Stan'; and inputs to simulate via 'deSolve' as described in Duggan (2016) <doi:10.1007/978-3-319-34043-2>.