d) 'NIL dereference (read)' can occur at compilation in some circumstances when an inappropriate transformation is made, for example an array into a scalar.
It seems to have to do with the fact that I'm subsetting two dimensions of the array at once in the multi-arm code:
I'm getting this error:
Which, according to the manual:
It seems to have to do with the fact that I'm subsetting two dimensions of the array at once in the multi-arm code:
I'm not sure whether there is a good workaround for this. The model works fine in JAGS. This might just convince me to drop support for BUGS.