Skip to content
Prev 17616 / 20628 Next

A consultation about DF of the result of lmer

It's very hard to say without more information (try e.g. here
<https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example>
or look at other posts in the list archive
<https://stat.ethz.ch/pipermail/r-sig-mixed-models/>

  A first guess is that you have a fixed-effect predictor that's
supposed to be a factor with 6 levels, but is actually being interpreted
as a numeric variable.  If that's the case, then either changing it
within the data set

  mydata$pred1 <- factor(mydata$pred1)

or doing it on the fly in your  model

  lmer(response ~ factor(pred1) + ...)

should fix the problem.
On 2019-05-05 9:11 p.m., ??? wrote: