Description Usage Arguments Details Value Examples
get_timestep
uses pysd to fetch the time step from the model
1 | get_timestep(o)
|
o |
is the ipysd S3 object |
As it's a generic function, this call is dispatched to set_component.isdpy
The simulation time step
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)
time_step <- get_timestep(py)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.