Learn R Programming

rbi (version 1.0.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, ...)

Value

the updated bi_model object

Arguments

x

a bi_model object

name

Name of the model

...

ignored

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 <- set_name(PZ, "new_PZ")

Run the code above in your browser using DataLab