Dear all, I am running glmer() in R. How can I retrieve the estimates of fixed effects and the variance of the random effects from the result? Thank you so much. Joe ___________________________________________________ ±zªº¥Í¬¡§Y®É³q ¡Ð ·¾³q¡B®T¼Ö¡B¥Í¬¡¡B¤u§@¤@¦¸·d©w¡I [[alternative HTML version deleted]]
Nai-Wei Chen <s90225007 <at> yahoo.com.tw> writes:> I am running glmer() in R. How can I retrieve the estimates of fixed effectsand the variance of the random> effects from the result? Thank you so much. >library(lme4) example(lmer) fixef(gm1) ## fixed effects VarCorr(gm1) ## var-cov structure for random effects VarCorr(gm1)$herd ## extract first random effect c(VarCorr(gm1)$herd) ## drop attributes etc. questions like this are probably best asked on r-sig-mixed-models at r-project.org cheers Ben Bolker