Replaces all variables with fixed values as given ; note that this will not replace differential equations and lead to an error if applied to states that are changed inside an "ode" block
For the help page of the base R fix function, see
fix.
Arguments
- x
a
bi_modelobject- ...
values to be assigned to the (named) variables
Examples
model_file_name <- system.file(package = "rbi", "PZ.bi")
PZ <- bi_model(filename = model_file_name)
PZ <- fix(PZ, alpha = 0)