Skip to contents

This function takes a single glmmTMB model and extracts the summary statistics (AIC, BIC, logLik, deviance, df.resid, and dispersion) from the model and returns them as a DataFrame.

Usage

getGlance(x)

Arguments

x

A glmmTMB model.

Value

A DataFrame with the summary statistics for the glmmTMB model.

Examples

data(mtcars)
model <- glmmTMB::glmmTMB(mpg ~ wt + (1|cyl), data = mtcars)
getGlance(model)
#>        AIC      BIC    logLik deviance df.resid dispersion
#> 1 164.4848 170.3478 -78.24241 156.4848       28    2.52988