r2jags Questions

4

Solved

Using jags.parallel from the command line or a script works fine. I can run this modified example from http://www.inside-r.org/packages/cran/R2jags/docs/jags just fine # An example model file is g...
Somewhat asked 21/5, 2014 at 17:50

2

Solved

When using jags.parallel, I get the following error: > out <- jags.parallel(win.data, inits, params, "Poisson.OD.t.test.txt", + nc, ni, nb, nt); Error in get(name, envir = envir) : invalid f...
Surfbird asked 23/7, 2013 at 11:13

1

Solved

I use both packages in order to do Bayesian analysis but there are some differences that I don't understand: First of all the package rjags allows the adaptation phase, with the jags.model functio...
Wooley asked 8/6, 2018 at 10:32

1

Solved

I feel very confused with the following syntax in jags, for example, n.iter=100,000 thin=100 n.adapt=100 update(model,1000,progress.bar = "none") Currently I think n.adapt=100 means you set th...
Pix asked 1/8, 2016 at 14:13

1

I'd like to use Jags plus R to adjust a linear model with observable quantities, and make inference about unobservable ones. I found lots of example on the internet about how to adjust the model, b...
Jimjams asked 12/11, 2015 at 1:31

0

Is there any way to save a jags.model() object into a RData or txt file ? To perform MCMC on a better computer, I have to save my model on one and using it in a new workspace. But I've some diffic...
Gravel asked 29/11, 2013 at 14:4

1

Solved

I have a function call (to jags.parallel) that works when given a numerical argument like n.iter = 100 but fails when the argument uses a variable value, n.iter = n.iter. This looks like it might b...
Suction asked 23/5, 2013 at 20:12
1

© 2022 - 2024 — McMap. All rights reserved.