add_block: Add a block to a LibBi model
Description
Add a block to a LibBi model. If that block exists, it will be removed first.
Usage
# S3 method for bi_model
add_block(x, name, lines, options, ...)
Value
a bi_model
object containing the new block
Arguments
- x
a bi_model
object
- name
name of the block
- lines
character vector, lines in the block
- options
any options to the block
- ...
ignored