% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core.R
\name{tl_plot_model}
\alias{tl_plot_model}
\title{Plot a supervised tidylearn model}
\usage{
tl_plot_model(model, type = "auto", ...)
}
\arguments{
\item{model}{A tidylearn supervised model object}

\item{type}{Plot type. For regression: "auto", "actual_predicted",
"residuals", "diagnostics". For classification: "auto", "confusion",
"roc", "precision_recall", "calibration", "lift", "gain".
"importance" is available for tree-based and regularized models.}

\item{...}{Additional arguments passed to the underlying plot function}
}
\value{
A ggplot2 object (invisibly for base-graphics plots)
}
\description{
Dispatches to the appropriate plotting function based on model type and
requested plot type.
}
\keyword{internal}
