Description Usage Arguments Details Value Examples
run_model()
calls run
in pysd and returns all
the simulation output in tidy data format (tibble)
1 | run_model(o)
|
o |
is the ipysd S3 object |
As it's a generic function, this call is dispatched to run_model.isdpy
tibble containing the simulation results
1 2 3 4 5 6 7 | ## Not run:
target <- system.file("models/vensim", "Population.mdl", package = "pysd2r")
py <- pysd_connect()
py <- read_vensim(py, target)
results <- run_model(py)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.