Skip to content

lme4: Extract fixed effects Val, SE, t, p

2 messages · Zev Ross, Dieter Menne

#
Hi All,

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?

Thank you, Zev
#
Zev Ross <zev <at> zevross.com> writes:
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.

Dieter