for(i in indices1){
... code for non-missing data...
}
for(i in indices2){
... code for missing data...
}
defining model...
Error in replaceConstantsRecurse(x, constEnv, constNames) :
Error, hit end
In addition: Warning message:
In replaceConstantsRecurse(x, constEnv, constNames) :
Code indices1 was given as known but evaluates to a non-scalar. This is probably not what you want.for(i in indices1[1:n_indices1]{defining model...
Error in parse(text = paste0("(", split.code[[1]][1], "):(", split.code[[1]][2], :
<text>:1:17: unexpected ')'
1: (indices1[1)
^
--
You received this message because you are subscribed to the Google Groups "nimble-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nimble-users...@googlegroups.com.
To post to this group, send email to nimble...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nimble-users/55437cd6-edc6-4847-ae94-8214646be5bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
OK, thanks. I will give that a try and see if I can make progress. One other questions though. Can I pass a vector of non-consecutive index values to a summary function, like:
MEAN <- mean(var1[indices1[1:n_indices1])
OK, thanks again. I’ll be out for a bit over the holidays, but I’ll see first if I can get things working otherwise before I bother about that last part. But I’ll check back here if I have additional questions.
To view this discussion on the web visit https://groups.google.com/d/msgid/nimble-users/1ed67d22-1749-48de-bb5e-876693c057a6n%40googlegroups.com.