% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/comp_utils.R
\name{detect_model_type_auto}
\alias{detect_model_type_auto}
\title{Auto-detect model type based on outcome and random effects}
\usage{
detect_model_type_auto(data, outcome, has_random_effects, family = "binomial")
}
\arguments{
\item{data}{Data.frame or data.table containing the outcome variable.}

\item{outcome}{Character string specifying the outcome variable or Surv() expression.}

\item{has_random_effects}{Logical indicating if random effects are specified.}

\item{family}{Character string for GLM family (default "binomial").}
}
\value{
Character string indicating detected model type.
}
\description{
Determines the appropriate model type based on outcome variable
characteristics and presence of random effects.
}
\keyword{internal}
