% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tables.R
\name{tl_table_metrics}
\alias{tl_table_metrics}
\title{Formatted evaluation metrics table}
\usage{
tl_table_metrics(model, new_data = NULL, digits = 4, ...)
}
\arguments{
\item{model}{A tidylearn supervised model object}

\item{new_data}{Optional test data. If NULL, uses training data.}

\item{digits}{Number of decimal places (default: 4)}

\item{...}{Additional arguments passed to \code{tl_evaluate}}
}
\value{
A \code{\link[gt]{gt}} table object.
}
\description{
Produces a styled gt table of model evaluation metrics from
\code{\link{tl_evaluate}}.
}
\examples{
\donttest{
model <- tl_model(mtcars, mpg ~ wt + hp, method = "linear")
tl_table_metrics(model)
}
}
