runBugs: Execute a BUGS Srcipt from R

Description Usage Arguments Value Author(s) See Also

View source: R/rbugs.R

Description

Create the system command to run BUGS and execute it.

Usage

1
2
runBugs(bugs=system("which OpenBUGS", TRUE), script, n.chains, workingDir,
        OpenBugs = TRUE, Windows=TRUE, verbose = TRUE)

Arguments

bugs

A character string specifying the full name (including path) of the BUGS executable. It must end with .txt to be recognizable by BUGS.

script

A character string specifying the full name (including path) of the script to be run. It must end with .txt to be recognizable by BUGS.

n.chains

The number of MCMC chains.

workingDir

The working directory where the output files from BUGS are stored.

OpenBugs

If TRUE, OpenBugs is used.

Windows

If TRUE, Windows plataform is used.

verbose

If TRUE, print the log file from BUGS.

Value

None.

Author(s)

Jun Yan jyan@stat.uconn.edu and Marcos Prates marcosop@est.ufmg.br

See Also

rbugs


rbugs documentation built on Jan. 15, 2019, 5:04 p.m.

Related to runBugs in rbugs...