Skip to contents

This function extracts the random parameters from a glmmTMB model and returns them as a data frame.

Usage

extract_ran_pars(x)

Arguments

x

A glmmTMB model object.

Value

A data frame containing the random parameters and their estimates.

Examples

model <- glmmTMB::glmmTMB(Sepal.Length ~ Sepal.Width + Petal.Length + (1|Species), data = iris, 
         family = gaussian)
random_params <- extract_ran_pars(model)