bugs_example_openbugs: Run an example in OpenBUGS using R2OpenBUGS

Description Usage Arguments

View source: R/bugs.R

Description

Run an example in OpenBUGS using R2OpenBUGS

Usage

1
2
bugs_example_openbugs(model, n.iter = 5000, n.chains = 2,
  n.workers = NULL, dir = "C:/OpenBUGS", examples_dir, working_dir)

Arguments

model

A character vector (length 1) specifying the model

n.iter

The number of iterations. If NULL, the default for each model is used.

n.chains

The number of chains

n.workers

The number of cores to use

dir

Full path to the MultiBUGS install directory

examples_dir

Full path to the directory containing the examples

working_dir

Full path to a temp dir where the model should be run


MultiBUGS/multibugstests documentation built on Feb. 24, 2020, 2:06 p.m.