powered by
A function that extracts the variance components returned from glmm.
glmm
varcomps(object,...)
A vector of variance component estimates
An object of class glmm usually created using glmm.
further arguments passed to or from other methods.
Christina Knudson
glmm for model fitting. coef.glmm for fixed effects coefficients.
coef.glmm
library(glmm) data(BoothHobert) set.seed(1234) mod <- glmm(y~0+x1, list(y~0+z1), varcomps.names=c("z1"), data=BoothHobert, family.glmm=bernoulli.glmm, m=100, doPQL=TRUE) varcomps(mod)
Run the code above in your browser using DataLab