bugs_example: Run a single Example

Description Usage Arguments

View source: R/run.R

Description

Runs a single Example from the specified MultiBUGS install, with the specified level of distribution

Usage

1
2
3
4
bugs_example(model, n.iter = NULL, n.chains = 2, n.workers = 2,
  dir = "C:/MultiBUGS", working_dir = tempdir(),
  implementation = "MultiBUGS", examples.dir = file.path(dir,
  "Examples"))

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

working_dir

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

implementation

Either "MultiBUGS" or "OpenBUGS"

examples.dir

Path to the directory containing the examples


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