[R-sig-ME] Extract information from lmer summary table
Ista Zahn
izahn at psych.rochester.edu
Fri Feb 4 18:13:05 CET 2011
Hi Sam,
Try this:
library(hints) # may need install.packages("hints") first
fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
hints(fm1)
This might lead you to something like
fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
hints(fm1)
fm1.results <- list(ran=ranef(fm1), fix=fixef(fm1), vc=VarCorr(fm1))
Also see
?"mer-class" for a complete list of methods for mer objects.
Best,
Ista
?"mer-class"
On Fri, Feb 4, 2011 at 11:02 AM, Sam Cartwright
<S.J.Cartwright at pgr.reading.ac.uk> wrote:
> Hello,
>
> I'm trying to extract components of the summary table from a lmer model. However, I can't seem to access the summary as I would be able to with a linear model summary table (using either $ operator or square brackets). As an 'mer' object, is there any method to enable the extraction of information from the lmer model summary table? I can't seem to find any info on how to do this but would have thought it would be a common problem?
>
> Many thanks,
>
> Sam
>
>
>
> Centre for Agri-Environment Research (CAER)
> Department of Agriculture, Policy and Development
> University of Reading
> PO Box 237, Earley Gate
> Reading RG6 6AR
> UK
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
More information about the R-sig-mixed-models
mailing list