[R] random effects

Rosario Garcia Gil M.Rosario.Garcia at slu.se
Thu Sep 29 23:34:36 CEST 2011


Hello

I have a data set with fixed and random effects, therefore I am using the lme function:

lm(y ~ xfixed, random=~1|xrandom, data)

After this I want to get the F-values for both the fixed and random predictors. I can easily get the F-value and df for the xfixed predictors (anova()), but how to get the F-value for the xrandom predictors?

Thanks in advance.
/R


More information about the R-help mailing list