% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/supervised-regression.R
\name{tl_fit_polynomial}
\alias{tl_fit_polynomial}
\title{Fit a polynomial regression model}
\usage{
tl_fit_polynomial(data, formula, degree = 2, ...)
}
\arguments{
\item{data}{A data frame containing the training data}

\item{formula}{A formula specifying the model}

\item{degree}{Degree of the polynomial (default: 2)}

\item{...}{Additional arguments to pass to lm()}
}
\value{
A fitted polynomial regression model
}
\description{
Fit a polynomial regression model
}
\keyword{internal}
