winbugs

jags.parallel - Error in get(name, envir = envir) : invalid first argument

故事扮演 提交于 2019-11-29 10:57:15
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 first argument The same call using jags function runs OK. I have only found one thread on this topic , but there is only one speculative suggestion that does not apply nor work here. Reproducible code, taken from Introduction to WinBUGS for ecologists, see chapter 14.1 (slightly modified): set.seed(123) ### 14.1.2. Data generation n.site <- 10 x <- gl(n = 2, k = n.site, labels = c("grassland", "arable"))

jags.parallel - Error in get(name, envir = envir) : invalid first argument

假装没事ソ 提交于 2019-11-28 04:08:15
问题 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 first argument The same call using jags function runs OK. I have only found one thread on this topic, but there is only one speculative suggestion that does not apply nor work here. Reproducible code, taken from Introduction to WinBUGS for ecologists, see chapter 14.1 (slightly modified): set.seed(123) ###