Expand if/else clauses into multiple different types of lines.
rxExpandIfElse(model, removeInis = TRUE, removePrint = TRUE)
Model can be a character, or a RxODE model. It needs
to have normalized syntax, that is if (...){
has to be
on the same line. The else
statement must be on its
own line with the closing bracket of the if
statement
on the previous line. This else
statement must also
contain the opening bracket, like the code else {
A boolean indicating if parameter initialization should be removed from the model.
A boolean indicating if printing statements should be removed from the model.
A named character vector. The names of the vector are the logical conditions, the values are the lines that satisfy the logical conditions.