Skip to content
Prev 82889 / 398503 Next

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

There are certain functions which can easily extracts the various
components, however. For instance, you can grab the fixed effects using
fixef(), the variance components using VarCorr, and the standard errors
of the fixed effects using vcov() 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Dieter Menne
Sent: Friday, December 16, 2005 3:28 AM
To: r-help at stat.math.ethz.ch
Subject: Re: [R] lme4: Extract fixed effects Val, SE, t, p

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

______________________________________________
R-help at 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