Learn R Programming

⚠️There's a newer version (2.2.2-5) of this package.Take me there.

runjags (version 0.9.9-2)

Interface utilities for JAGS (using BUGS syntax) and Apple Xgrid distributed computing clusters

Description

A set of utility functions to run BUGS models using JAGS from within R, and for JAGS or arbitrary R code submission to Xgrid clusters (requires Mac OS X). Automatic control of model run length, calculation of autocorrealtion and Gelman Rubin statistic diagnostics, generation of trace and density plots, calculation of DIC, and automatic retrieval of R objects as data are supported. Utilities to run user-supplied R functions on Xgrid (using xapply as a replacement for lapply) are also included, and do not require JAGS.

Copy Link

Version

Install

install.packages('runjags')

Monthly Downloads

10,066

Version

0.9.9-2

License

GPL

Maintainer

Matthew Denwood

Last Published

August 19th, 2011

Functions in runjags (0.9.9-2)

dump.format

Produce a Character String in the R Dump Format to Be Used With Jags
autorun.jagsfile

Read a User Specified Model in a WinBUGS Type Textfile or Character Variable, and Run the Simulation in JAGS with Automatically Calculated Run Length and Convergence Diagnostics
findjags

Attempt to Locate a JAGS Install
install.mgrid

Install the mgrid script to extend the functionality of the Apple Xgrid related functions
new_unique

Create a Unique Filename
xgrid.run

Remote execution of user-specified R functions on Apple Xgrid distributed computing clusters
read.winbugs

Extract Any Models, Data, Monitored Variables or Initial Values As Character Vectors from a Winbugs Type Textfile
xgrid.run.jags

Run a JAGS Model using an Xgrid distributed computing cluster from Within R
combine.mcmc

Combine Two or More MCMC Objects With the Same Number of Chains Into One Longer MCMC Object
runjags

Run Bayesian MCMC Models in the BUGS syntax from Within R
autorun.jags

Run a User Specified Bayesian MCMC Model in JAGS with Automatically Calculated Run Length and Convergence Diagnostics
run.jags

Run a User Specified Bayesian MCMC Model in JAGS from Within R
timestring

Calculate the Elapsed Time in Sensible Units
run.jagsfile

Read a User Specified Model in a WinBUGS Type Textfile or Character Variable, and Run the Simulation in JAGS from Within R
ask

Obtain Input from User With Error Handling
testjags

Analyse the System to Check That Jags Is Installed