run_model: Runs a simulation model

Description Usage Arguments Details Value Examples

View source: R/ipysd.R

Description

run_model() calls run in pysd and returns all the simulation output in tidy data format (tibble)

Usage

1

Arguments

o

is the ipysd S3 object

Details

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

Value

tibble containing the simulation results

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)
results <- run_model(py)

## End(Not run)

pysd2r documentation built on May 2, 2019, 3:40 p.m.