set_time_values {pysd2r}R Documentation

Sets the initial time, final time, and timestep

Description

set_time_valuesl() sets the simulation times and DT

Usage

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

## 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)

[Package pysd2r version 0.1.0 Index]