libbi | R Documentation |
libbi
allows to call LibBi
.
Upon creating a new libbi object, the following arguments can be given.
Once the instance is created, LibBi
can be run through the
sample
, filter
, or
optimise
, or rewrite
methods. Note that
libbi
objects can be plotted using plot
if the
rbi.helpers
package is loaded.
libbi(model, path_to_libbi, dims, use_cache = TRUE, ...)
model |
either a character vector giving the path to a model file
(typically ending in ".bi"), or a |
path_to_libbi |
path to |
dims |
any named dimensions, as list of character vectors |
use_cache |
logical; whether to use the cache (default: true) |
... |
options passed to |
a new libbi
object
sample
, filter
, optimise
,
rewrite
bi_object <- libbi(model = system.file(package = "rbi", "PZ.bi"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.