% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tables.R
\name{tl_table}
\alias{tl_table}
\title{Create formatted tables for tidylearn models}
\usage{
tl_table(model, type = "auto", ...)
}
\arguments{
\item{model}{A tidylearn model object}

\item{type}{Table type (default: "auto"). For supervised models: "metrics",
"coefficients", "confusion", "importance". For unsupervised models:
"variance", "loadings", "clusters". MDS models are not supported.}

\item{...}{Additional arguments passed to the underlying table function}
}
\value{
A \code{\link[gt]{gt}} table object.
}
\description{
Dispatches to the appropriate table function based on model type and
requested table type. Requires the gt package.
}
\examples{
\donttest{
model <- tl_model(mtcars, mpg ~ wt + hp, method = "linear")
tl_table(model)
tl_table(model, type = "coefficients")
}
}
