Description Usage Arguments Details Value Author(s) References See Also
View source: R/validateInstallMultiBUGS.R
A selected subset of the examples from the MultiBUGS manual is executed and compared to results supplied with the package to validate installation.
1 2 3 4 5 6 | validateInstallMultiBUGS(test.models = c("Air", "Asia", "Beetles",
"BiRats", "Camel", "Dugongs", "Dyes", "Equiv", "Eyes", "Line",
"OtreesMVN", "Rats", "Stacks", "Surgical", "Surgicalrand"),
n.workers = 2, report = "text", MultiBUGS.pgm = NULL,
useWINE = FALSE, WINE = NULL, newWINE = TRUE, WINEPATH = NULL,
...)
|
test.models |
A character list of models to validate. |
n.workers |
The number of workers to use in the MCMC simulation. |
report |
How to report the result of the validation. If |
MultiBUGS.pgm |
See |
useWINE |
logical; attempt to use the Wine emulator to run
MultiBUGS. Default is |
WINE |
Character, path to ‘wine’ binary file, it is tried hard (by
a guess and the utilities |
newWINE |
Use new versions of Wine that have ‘winepath’ utility |
WINEPATH |
Character, path to ‘winepath’ binary file, it is tried
hard (by a guess and the utilities |
... |
Other arguments passed through to |
Operation system support:
MS Windows Yes
Linux, intel processors Yes, but GUI display and graphics not available.
Mac OS X and Unix Wine emulation via useWINE=TRUE
If useWINE=TRUE
is used, all paths (such as working.directory
and model.file
, must be given in native (Unix) style, but
MultiBUGS.pgm
can be given in Windows path style (e.g.
“c:/Program Files/MultiBUGS/”) or native (Unix) style
(e.g.
“/path/to/wine/folder/dosdevices/c:/Program
Files/MultiBUGS/MultiBUGS321/MultiBUGS.exe”).
No data returned. Prints match/no match result to console for each example.
Neal Thomas based on BRugs examples created by Chris Jackaon.
Gelman, A., Carlin, J.B., Stern, H.S., Rubin, D.B. (2003): Bayesian Data Analysis, 2nd edition, CRC Press.
Sturtz, S., Ligges, U., Gelman, A. (2005): R2WinBUGS: A Package for Running WinBUGS from R. Journal of Statistical Software 12(3), 1-16.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.