Learn R Programming

glmm (version 1.4.5)

coef.glmm: Extract Model Coefficients

Description

A function that extracts the fixed effect coefficients returned from glmm.

Usage

# S3 method for glmm
coef(object,...)

Value

coefficients

A vector of coefficients (fixed effects only)

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.

Examples

Run this code
library(glmm)
set.seed(1234)
data(salamander)
m<-1000
sal<-glmm(Mate~0+Cross,random=list(~0+Female,~0+Male),varcomps.names=c("F","M"),
data=salamander,family.glmm=bernoulli.glmm,m=m,debug=TRUE,doPQL=FALSE)
coef(sal)

Run the code above in your browser using DataLab