Re: [R] invalid labels; length 2 should be 1 or 0

2012-10-31 Thread rachel.cole
I had the same problem, but found this note in the MICE package documentation (at http://cran.r-project.org/web/packages/mice/mice.pdf): Added June 25, 2012: The currently implemented algorithm does not handle predictors that are specified as fixed effects (type=1). When using mice.impute.2l.norm(),

[R] invalid labels; length 2 should be 1 or 0

2012-09-20 Thread ya
hi list, I googled this invalid lables issue. It seems different people doing different analysis encountered this problem. So I guess this is not about the MICE package. However, in general, they have categorical variables, in my case, I double checked, the bulg_1, bulg_2, and bulg_3 are conti

[R] invalid labels; length 2 should be 1 or 0

2012-09-19 Thread ya
Dear list, I am trying to impute the two level data, I have a question about a warning. Could you give me some suggestions please? Thank you very much. Here is my code and output of mice package: > ini <- mice(try, maxit=0) > pred=ini$pred > pred FAC1_1 FAC2_1 FAC3_1 FAC4_1 FAC5_1