rewrite: Using the LibBi wrapper to rewrite

View source: R/libbi.R

rewriteR Documentation

Using the LibBi wrapper to rewrite

Description

The method rewrite launches LibBi to rewrite a model to inspect its internal representation in LibBi

If x is given as a 'bi_model', a libbi object will be created from the model

Usage

## S3 method for class 'libbi'
rewrite(x, ...)

## S3 method for class 'bi_model'
rewrite(x, ...)

Arguments

x

a libbi or bi_model object, or the name of a file containing the model

...

options to be passed to run.libbi

Value

a re-written bi_model object


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