get_final_time {pysd2r}R Documentation

Gets the final time from the model

Description

get_timestep uses pysd to fetch the time step from the model

Usage

get_final_time(o)

Arguments

o

is the ipysd S3 object

Details

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

Value

The finaltime

Examples

## Not run: 
target <- system.file("models/vensim", "Population.mdl", package = "pysd2r")
py <- pysd_connect()
py <- read_vensim(py, target)
final_time <- get_final_time(py)

## End(Not run)

[Package pysd2r version 0.1.0 Index]