set_name | R Documentation |
Changes the name of a bi model (first line of the .bi file) to the specified name.
## S3 method for class 'bi_model'
set_name(x, name, ...)
x |
a |
name |
Name of the model |
... |
ignored |
the updated bi_model
object
bi_model
model_file_name <- system.file(package = "rbi", "PZ.bi")
PZ <- bi_model(filename = model_file_name)
PZ <- set_name(PZ, "new_PZ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.