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

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Fri 16 Dec 2005 - 19:27:57 EST

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@fixed
              useScale <- object@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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Dec 16 19:51:45 2005

This archive was generated by hypermail 2.1.8 : Fri 16 Dec 2005 - 20:32:46 EST