Learn R Programming

sdbuildR (version 2.0.0)

print.simulate_stockflow: Print simulation of a stock-and-flow model

Description

Prints the first rows of the simulation results in wide format. For a statistical summary per variable use summary().

Usage

# S3 method for simulate_stockflow
print(x, ...)

Value

Invisibly returns x

Arguments

x

A simulation result of class simulate_stockflow

...

Additional arguments (unused)

See Also

simulate.stockflow(), summary.simulate_stockflow(), plot.simulate_stockflow(), as.data.frame.simulate_stockflow()

Examples

Run this code
sfm <- stockflow("SIR")
sim <- simulate(sfm)
print(sim)

Run the code above in your browser using DataLab