% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/m2dt_utils.R
\name{detect_model_type}
\alias{detect_model_type}
\title{Detect if model is univariable or multivariable}
\usage{
detect_model_type(model)
}
\arguments{
\item{model}{Fitted model object.}
}
\value{
Character string: "Univariable" or "Multivariable".
}
\description{
Determines whether a model contains one predictor (univariable) or multiple
predictors (multivariable) by analyzing coefficient names and factor structure.
Handles interactions and random effects appropriately.
}
\keyword{internal}
