Hello all, I'm trying to specify a mixed effects model using rjags and I'm running into an error when it comes to running my model and the problem seems to be related to the specification my random effect for what I've termed 'segment', which is just a spatial unit of observation. Each of these units is sampled multiple times, although not the same number of times, i.e. segment 1 was sampled 4 times while segment 2 was only sampled 3 times. The error I'm getting states 'Index out of range taking...
Thanks Martyn, I'll double check the data to see if there is something weird going on there.
Hello All, I'm running a model in R using the package 'jagsUI' and the model seems to run for a little bit, but then I get the message "Error in mat[, "deviance"] : subscript out of bounds In addition: Warning message: In order.params(samples, parameters.to.save, DIC, verbose = verbose) : JAGS did not monitor deviance." I've never come across this error before I thought it might be an issue with the DIC module of JAGS so I made sure to load the module prior to running the model. Any suggestions on...
Hello All, I'm having trouble running a model using package jagsUI today that seemingly had no problems running yesterday. Everything seems to load correctly and I get the message "Beginning parallel processing using 2 cores. Console output will be suppressed." After about 30 second though I get the error: "Error in checkForRemoteErrors(val) : 2 nodes produced errors; first error: Error in node Beta_time Current value is inconsistent with data" After messing around for a couple of hours I'm still...