Skip to contents

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, ...)

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

Value

a bi_model object containing the new block