[R] lme4: Extract fixed effects Val, SE, t, p

Dieter Menne dieter.menne at menne-biomed.de
Fri Dec 16 09:27:57 CET 2005

Zev Ross <zev <at> zevross.com> writes:

> Using glmmPQL you can extract the full table of estimates, SE, p-values 
> etc using as an example:
> mymodel<-glmmPQL(mymodel here)
> summary(mymodel)[[18]]
> How can I pull this table out of a lmer object in lme4?

Looks like it is not so easy, the code that produces the table is rather hidden 
in Matrix\r\lmer.R, about line 400

setMethod("show", "summary.lmer",
          function(object) {
              fcoef <- object at fixed
              useScale <- object at useScale

You might be able to write your own code using the outline given there, but you 
could run into trouble with method getFixDF.


More information about the R-help mailing list