Learn R Programming

rbi (version 1.0.0)

enable_outputs: Enable outputting variables in a bi_model

Description

Any variable type given will have any 'has_output=0' option removed in the given model.

Usage

enable_outputs(x, type = "all")

Value

the updated bi_model object

Arguments

x

a bi_model object

type

either "all" (default), or a vector of variable types that are to have outputs enabled

See Also

bi_model

Examples

Run this code
model_file_name <- system.file(package = "rbi", "PZ.bi")
PZ <- bi_model(filename = model_file_name)
PZ[6] <- "param mu (has_output=0)"
PZ <- enable_outputs(PZ)

Run the code above in your browser using DataLab