Skip to contents

This function extracts a tidy summary of the fixed and random effects from a glmmTMB model and binds them together in a data frame. Missing columns are filled with NA.

Usage

getTidyGlmmTMB(glm_TMB, ID)

Arguments

glm_TMB

A glmmTMB model object.

ID

An identifier to be included in the output data frame.

Value

A data frame containing a tidy summary of the fixed and random effects from the glmmTMB model.

Examples


model <- glmmTMB::glmmTMB(Sepal.Length ~ Sepal.Width + Petal.Length, data = iris)
tidy_summary <- getTidyGlmmTMB(glm_TMB = model, ID = "Model1")