Learn R Programming

glmm (version 1.4.5)

varcomps: Extract Model Variance Components

Description

A function that extracts the variance components returned from glmm.

Usage

varcomps(object,...)

Value

varcomps

A vector of variance component estimates

Arguments

object

An object of class glmm usually created using glmm.

...

further arguments passed to or from other methods.

Author

Christina Knudson

See Also

glmm for model fitting. coef.glmm for fixed effects coefficients.

Examples

Run this code
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