set_time_values: Sets the initial time, final time, and timestep

Description Usage Arguments Examples

View source: R/ipysd.R

Description

set_time_valuesl() sets the simulation times and DT

Usage

1
set_time_values(o, init, final, DT)

Arguments

o

is the ipysd S3 object

init

is the initial time

final

is the final time

DT

is the time step

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)
set_time_values(py,0,10,0.5)

## End(Not run)

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