outvars: Show names of current output variables

View source: R/class_mrgmod.R

outvarsR Documentation

Show names of current output variables

Description

Outputs can include model compartments or variables defined in the model that have been marked to capture in simulated output.

Usage

outvars(x, unlist = FALSE)

Arguments

x

model object.

unlist

if TRUE then a character vector (rather than list) is returned.

Value

When unlist is FALSE (default) : a named list, with cmt showing names of output compartments and capture giving names of output variables in capture. When unlist is TRUE, then a single, unnamed character vector of outvar names is returned.

Examples

mod <- mrgsolve::house()
outvars(mod)


mrgsolve documentation built on Oct. 18, 2024, 5:12 p.m.

Related to outvars in mrgsolve...