Extract_assign.bi_model | R Documentation |
Extracts a subset of lines from the model and assigns new character strings.
## S3 replacement method for class 'bi_model'
x[i, ...] <- value
x |
A bi_model |
i |
A vector of line numbers |
... |
ignored |
value |
A vector of the same length as |
the updated bi_model
object
model_file_name <- system.file(package = "rbi", "PZ.bi")
PZ <- bi_model(filename = model_file_name)
PZ[3:4] <- c("const e = 0.4", "const m_l = 0.05")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.