Re: [R] Var-Cov matrix from LMER function

2011-08-08 Thread Joshua Wiley
Hi Cheryl, Here is an example of how to get the fixed and random effects covariance matrices. require(lme4) (fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)) ## fixed effects vcov(fm1) ## random effects VarCorr(fm1) ## for documentation, see method?vcov("mer") Hope this helps, Josh

[R] Var-Cov matrix from LMER function

2011-08-08 Thread Cheryl Johnson
Hello, Is there a way to get the Var-Cov matrix from the LMER function? Thanks [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R