% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tables.R
\name{tl_table_importance}
\alias{tl_table_importance}
\title{Formatted feature importance table}
\usage{
tl_table_importance(model, top_n = 20, digits = 2, ...)
}
\arguments{
\item{model}{A tidylearn model object}

\item{top_n}{Maximum number of features to display (default: 20)}

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

\item{...}{Additional arguments (currently unused)}
}
\value{
A \code{\link[gt]{gt}} table object.
}
\description{
Produces a styled gt table of feature importance with a colour gradient.
Supports tree-based, regularised, and xgboost models.
}
\examples{
\donttest{
model <- tl_model(iris, Species ~ ., method = "forest")
tl_table_importance(model)
}
}
