% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{tl_check_assumptions}
\alias{tl_check_assumptions}
\title{Check model assumptions}
\usage{
tl_check_assumptions(model, test = TRUE, verbose = TRUE)
}
\arguments{
\item{model}{A tidylearn model object}

\item{test}{Logical; whether to perform statistical tests}

\item{verbose}{Logical; whether to print test results and explanations}
}
\value{
A named list with one element per assumption checked
(\code{linearity}, \code{independence}, \code{homoscedasticity},
\code{normality}, \code{multicollinearity}, \code{outliers}), each
containing \code{assumption} (character label), \code{check} (logical
or \code{NULL}), \code{details} (character), and
\code{recommendation} (character). An additional \code{overall} element
summarises the number of assumptions checked, violated, and satisfied.
}
\description{
Check model assumptions
}
\examples{
\donttest{
model <- tl_model(mtcars, mpg ~ wt + hp, method = "linear")
tl_check_assumptions(model)
}
}
