varcomps.glmm: Extract Model Variance Components

varcompsR 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 glmm usually created using glmm.

...

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)



glmm documentation built on Oct. 10, 2022, 1:06 a.m.