Skip to contents

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

Usage

glance_tmb(list_tmb)

Arguments

list_tmb

A list of glmmTMB models or a unique glmmTMB obj model

Value

A DataFrame with the summary statistics for all the glmmTMB models in the list.

Examples

data(mtcars)
models <-  fitModelParallel(Sepal.Length ~ Sepal.Width + Petal.Length, 
                           group_by = "Species",n.cores = 1, data = iris)
#> Log file location: /tmp/RtmpS86cq0/htrfit.log
#> CPU(s) number : 1
#> Cluster type : PSOCK
result <- glance_tmb(models)