find_block: Find a block in a LibBi model

View source: R/bi_model.R

find_blockR Documentation

Find a block in a LibBi model

Description

Finds a block and returns the range of line numbers encompassed by that block.

Usage

## S3 method for class 'bi_model'
find_block(x, name, inner = FALSE, ...)

Arguments

x

a bi_model object

name

of the block to find

inner

only return the inner part of the block (not the block definition)

...

ignored

Value

an integerr vector, the range of line numbers

See Also

bi_model


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