varcomps {glmm} | R Documentation |
Extract Model Variance Components
Description
A function that extracts the variance components returned from glmm
.
Usage
varcomps(object,...)
Arguments
object |
An object of class |
... |
further arguments passed to or from other methods. |
Value
varcomps |
A vector of variance component estimates |
Author(s)
Christina Knudson
See Also
glmm
for model fitting.
coef.glmm
for fixed effects coefficients.
Examples
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)
[Package glmm version 1.4.4 Index]