powered by
Changes the name of a bi model (first line of the .bi file) to the specified name.
# S3 method for bi_model set_name(x, name, ...)
the updated bi_model object
bi_model
a bi_model object
Name of the model
ignored
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