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

rachel.cole rachel.cole at nyu.edu
Wed Oct 31 10:42:49 CET 2012

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(), the
current advice is to
specify all predictors as random effects (type=2).
Warning: The assumption of heterogeneous variances requires that in every
class at least one observation has a response in y.

View this message in context: http://r.789695.n4.nabble.com/invalid-labels-length-2-should-be-1-or-0-tp4643712p4647974.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list