Learn R Programming

rbi (version 0.7.0)

set_name: Set the name of a bi model

Description

Changes the name of a bi model (first line of the .bi file) to the specified name.

Usage

# S3 method for bi_model
set_name(x, name, ...)

Arguments

x

a bi_model object

name

Name of the model

...

ignored

Value

the updated bi model

See Also

bi_model

Examples

Run this code
# NOT RUN {
model_file_name <- system.file(package="rbi", "PZ.bi")
PZ <- bi_model(filename = model_file_name)
PZ <- set_name(PZ, "new_PZ")
# }

Run the code above in your browser using DataLab