Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tidy_glmmtmb.R
\name{extract_ran_pars}
\alias{extract_ran_pars}
\title{Extract Random Parameters from a glmmTMB Model}
\usage{
extract_ran_pars(x)
}
\arguments{
\item{x}{A glmmTMB model object.}
}
\value{
A data frame containing the random parameters and their estimates.
}
\description{
This function extracts the random parameters from a glmmTMB model and returns them as a data frame.
}
\examples{
model <- glmmTMB::glmmTMB(Sepal.Length ~ Sepal.Width + Petal.Length + (1|Species), data = iris,
family = gaussian)
random_params <- extract_ran_pars(model)
}