Hi List,

        I'm having this problem when trying to use the PREDICT function.


Here is a way to reproduce the error

library(REEMtree)
data(simpleREEMdata)
REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID/D)
predict(REEMresult, simpleREEMdata, id = simpleREEMdata$ID/simpleREEMdata$D, 
EstimateRandomEffects=TRUE)


As far as I understand the problem is that I'm not being able to specify 
correctly the number of groups created in the random structure of the model 
(~1|ID/D). 

Does anybody knows how to FIX this ?

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to