Learn R Programming

rbi (version 0.6.0)

bi_model_fix: Fix noise term, state or parameter of a libbi model

Description

Replaces all variables with fixed values as given in 'fixed'; note that this will not replace differential equations and lead to an error if applied to states that are changed inside an "ode" block

Arguments

...
values to be assigned to the (named) variables

Value

a bi model object of the new model

See Also

bi_model

Examples

Run this code
model_file_name <- system.file(package="rbi", "PZ.bi")
PZ <- bi_model(filename = model_file_name)
PZ$fix(alpha = 0)

Run the code above in your browser using DataLab