get_initial_time: Gets the initial time from the model

Description Usage Arguments Details Value Examples

View source: R/ipysd.R

Description

get_initial_time uses pysd to fetch the time step from the model

Usage

1

Arguments

o

is the ipysd S3 object

Details

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

Value

The initial time

Examples

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)
initial_time <- get_initial_time(py)

## End(Not run)

pysd2r documentation built on Sept. 3, 2018, 5:04 p.m.