Learn R Programming

pysd2r (version 0.1.0)

get_initial_time: Gets the initial time from the model

Description

get_initial_time uses pysd to fetch the time step from the model

Usage

get_initial_time(o)

Arguments

o

is the ipysd S3 object

Value

The initial time

Details

As it's a generic function, this call is dispatched to set_component.isdpy

Examples

Run this code
# NOT RUN {
target <- system.file("models/vensim", "Population.mdl", package = "pysd2r")
py <- pysd_connect()
py <- read_vensim(py, target)
initial_time <- get_initial_time(py)
# }

Run the code above in your browser using DataLab