[R] extract value from mer object ?
Ben Bolker
bbolker at gmail.com
Tue May 17 18:06:52 CEST 2011
Maas James Dr (MED <J.Maas <at> uea.ac.uk> writes:
>
>
> What is the easiest way to extract a value from a 'mer'
> object from glmer? The first I need is the
> trtpair Std.Dev. which in this case is 0.17542?
>
> I've managed to get the fixed effects numbers from
> summary(fednmaout)@coeffs
You should use fixef(fednmaout) instead here.
>
> but no luck with the Random effects stuff.
>
Something like
v <- VarCorr(fednmaout)
attr(v$trtpair,"stddev")
Questions like this are probably more usefully asked on
the r-sig-mixed-models list ...
> TIA
>
> Jim
>
> > fednmaout
[snip]
More information about the R-help
mailing list