add_block: Add a block to a LibBi model

View source: R/bi_model.R

add_blockR Documentation

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 class '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


rbi documentation built on Aug. 15, 2023, 5:07 p.m.