get_block {rbi} | R Documentation |
Get the contents of a block in a LibBi model
Description
Returns the contents of a block in a LibBi model as a character vector of lines.
Usage
## S3 method for class 'bi_model'
get_block(x, name, shell = FALSE, ...)
Arguments
x |
a |
name |
name of the block |
shell |
if TRUE (default:FALSE), will return the shell (i.e., the
definition of the block) as well as content; this is useful, e.g., to see
options passed to a |
... |
ignored |
Value
a character vector of the lines in the block
[Package rbi version 1.0.0 Index]