[R] Which JAGS interface to use?
Frank E Harrell Jr
f.harrell at vanderbilt.edu
Wed Oct 7 21:40:53 CEST 2009
We use it on Linux - here's our how-to:
Kevin Wright wrote:
> Frank (or anyone else), can you offer any comments comparing runjags,
> R2jags, rjags ?
> I couldn't find any vignettes, nothing except a brief mention on Task Views.
> On Wed, Oct 7, 2009 at 7:48 AM, Frank E Harrell Jr
> <f.harrell at vanderbilt.edu <mailto:f.harrell at vanderbilt.edu>> wrote:
> Have you tried the rjags package which uses the jags system? It is
> much more integrated into R and works quite well. It uses the same
> modeling language as BUGS. It is also better supported than OpenBUGS.
> Bill Halteman wrote:
> Hi All,
> I am trying to figure out how to use R-Coda with the output
> from OpenBugs. I have installed and loaded the packages BRugs
> and R2WinBUGS. I have successfully run a simple Bayes model in
> WinBUGS using R2WinBUGS' "bugs" and have used "read.bugs" to
> build the coda object. I can successfully switch to OpenBugs
> and run the same model and get the basic summary back. However,
> I cannot build the coda object. From what I have read
> "read.openbugs" should do the trick. However, I have discovered
> the current version of OpenBUGS (v 3.03) doesn't write any
> output files in spite of setting codaPkg=TRUE in the "bugs"
> call. "Str(openbugs.object)" reveals a large collection of
> elements, one of which is an array that contains the MCMC
> chains. Is there a function to build the coda object?
> Thanks in advance for any suggestions,
> Bill Halteman
> Frank E Harrell Jr Professor and Chair School of Medicine
> Department of Biostatistics Vanderbilt University
> R-help at r-project.org <mailto:R-help at r-project.org> mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
More information about the R-help