varcomps | R Documentation |
A function that extracts the variance components returned from glmm
.
varcomps(object,...)
object |
An object of class |
... |
further arguments passed to or from other methods. |
varcomps |
A vector of variance component estimates |
Christina Knudson
glmm
for model fitting.
coef.glmm
for fixed effects coefficients.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.