as.data.frame.simulate_stockflow: Create data frame of simulation results
Description
Convert simulation results to a data.frame.
Usage
# S3 method for simulate_stockflow
as.data.frame(x, row.names = NULL, optional = FALSE, direction = "long", ...)
Value
A data.frame with simulation results. For direction = "long" (default),
the data frame has three columns: time, variable, and value.
For direction = "wide", the data frame has columns time followed by
one column per variable.