Learn R Programming

arm (version 1.4-13)

extractDIC: Extract AIC and DIC from a mer model

Description

Computes the (generalized) Akaike *A*n *I*nformation *C*riterion and *D*eviance *I*nformation *C*riterion for a mer model.

Usage

extractDIC(fit,...)
## S3 method for class 'mer':
extractDIC(fit,\dots)

## S3 method for class 'mer':
extractAIC(fit,\dots)

Arguments

fit
fitted mer mode, usually the result of a fiiter like mer.
...
further arguments (currently unused).

Examples

Run this code
fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
extractAIC(fm1)
extractDIC(fm1)

Run the code above in your browser using DataLab