That the second time in 2 days I need your help but I prefere to ask than to stay for 1 week with my error.
I tried the exemple (pump) and it is working perfectly fine. But when I make my own model with more complicate data I have a problem. All is working fine, but when I ask for the results with summary(samplesList), I only have NAs and I have this error :
Error in model.frame.default(formula = x[, i] ~ z, drop.unused.levels = TRUE) :
les longueurs des variables diffèrent (trouvé pour 'z')
(in english : variable lengths differ (found for 'z')
The problem is that I don't use any z so it may be in Nimble code but I don't know were and what is z.
Maybe I don't define well my datas and constants :
In my data list there is : the explained variable (length 300)
In my constants list there are :
the explanatory variable (length 300)
A hierachization variable (length 300 with 30 levels)
The number of obervations (=300 length 1)
sd of x (length 1)
the two quantiles (length 2)
the number of level of my hierrachisation variable (=30, length 1)
Another explanatory variable (length 300)
Tell me if you need more informations but I am not allowed to share my datas and model because there are not published yet.
Thank you in advance
Ugoline