Skip to content
Prev 132560 / 398506 Next

hierarchical linear models, mixed models and lme

Nicolas Ris <Nicolas.Ris <at> sophia.inra.fr> writes:
Since your factors are codes as numbers, the first thing I would check if these
are really factors in your data frame. If these are numeric, you will get a
regression and degrees of freedom are totally off. Try

box105.gd$rats = as.factor(box105.gd$rats)
box105.gd$prep = as.factor(box105.gd$prep)

I am sure there will be some differences to Sokal/Rohlf afterwards, but you
should come closer. Please post a complete, self-running examples if you have
more questions.

Dieter