Learn R Programming

merTools (version 0.2.1)

fastdisp: Display model fit summary of merMod objects, fast

Description

A faster version of the arm::display function that is quicker because it does not refit the model to extract the deviance

Usage

fastdisp(merMod, ...)

Arguments

merMod
a merMod object from the lme4 package
...
additional arguments to pass to arm::display including number of digits

Value

A printed summary of a merMod object

Details

The time saving is only noticeable for large, time-consuming (g)lmer fits.

See Also

display

Examples

Run this code
## Not run: 
# #Compare the time for displaying this modest model
# require(arm)
# m1 <- lmer(y ~ lectage + studage + (1|d) + (1|s), data=InstEval)
# system.time(display(m1))
# system.time(fastdisp(m1))
# ## End(Not run)

Run the code above in your browser using DataLab