simulate: Using the LibBi wrapper to simulate

View source: R/libbi.R

simulateR Documentation

Using the LibBi wrapper to simulate

Description

The method simulate launches LibBi to simulate a model by passing 'target="joint"' to LibBi

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

Usage

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

## S3 method for class 'bi_model'
simulate(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

an updated bi_model object


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