% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tables.R
\name{tl_table_comparison}
\alias{tl_table_comparison}
\title{Compare multiple models in a formatted table}
\usage{
tl_table_comparison(..., new_data = NULL, names = NULL, digits = 4)
}
\arguments{
\item{...}{tidylearn model objects to compare}

\item{new_data}{Optional test data for evaluation. If NULL, uses the
training data of the first model.}

\item{names}{Optional character vector of model names}

\item{digits}{Number of decimal places (default: 4)}
}
\value{
A \code{\link[gt]{gt}} table object.
}
\description{
Evaluates multiple tidylearn models and presents the results side-by-side
in a styled gt table.
}
\examples{
\donttest{
m1 <- tl_model(mtcars, mpg ~ ., method = "linear")
m2 <- tl_model(mtcars, mpg ~ ., method = "lasso")
tl_table_comparison(m1, m2, names = c("Linear", "Lasso"))
}
}
