bugs_examples_all: Run all Examples

Description Usage Arguments

View source: R/run.R

Description

Runs all Examples in the specified MultiBUGS directory

Usage

1
2
3
4
5
bugs_examples_all(dir = "C:/MultiBUGS", n.iter = NULL, n.chains = 2,
  n.workers = 2, report = "text", check = "simply_ran",
  exclude = "Sixcomp", include = NULL, save = NULL,
  implementation = "MultiBUGS", examples.dir = file.path(dir,
  "Examples"), ...)

Arguments

dir

Full path to the MultiBUGS install directory

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

report

Specify how to report results. Either "text" to use text_reporter or "appveyor" to use appveyor_reporter

check

Specify how to check the results. Either "simply_ran" to simply check that the Example ran, or "openbugs" to check results against OpenBUGS 3.2.3

exclude

A character vector of model names to skip

include

A character vector of model names to run. If NULL then all models (except those excluded) are run.

save

A path where to save results, otherwise NULL

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.