Hi,
I'm trying to generate a GLMM for Y following a negative binomial
distribution. The first step I'm taking as a beginner in the use of R2Jags
is to generate a GLM for Y following a Poisson distribution (I heard it's
good in order to get used to the coding language), so here I am and here I
On Wed, Nov 28, 2012 at 11:37 AM, alexB alexandre.bud...@helsinki.fiwrote:
The error was generated by jags not R or R2Jags (wrong list). Regardless,
your problem is the prior loop is only 1:6
snip
for (i in 1:6) { b[i] ~ dnorm(0.0, 0.01)
# b[i] ~ dunif(-20, +20)
Thanks a lot for your quick reply ilai-2!
Ok! Sorry for my mistake concerning the list.
Thanks again for your answer,
aB
--
View this message in context:
http://r.789695.n4.nabble.com/Error-message-R2Jags-tp4651178p4651209.html
Sent from the R help mailing list archive at Nabble.com.
3 matches
Mail list logo