Learn R Programming

rbi (version 0.6.0)

bi_model_update_lines: Update line(s) in a libbi model

Description

Updates one or more lines in a libbi model.

Arguments

num
line number(s) to update
lines
vector of line(s)

Value

the updated bi 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$update_lines(23, "alpha ~ normal(mu, sigma)")

Run the code above in your browser using DataLab