% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/formula.R
\name{kaf_fit_formula}
\alias{kaf_fit_formula}
\title{Fit a KAF model using an R formula}
\usage{
kaf_fit_formula(
  formula,
  data,
  include_intercept = FALSE,
  na.action = stats::na.omit,
  ...
)
}
\arguments{
\item{formula}{A model formula, such as \code{y ~ x1 + x2}.}

\item{data}{A data frame.}

\item{include_intercept}{Logical. Whether to keep the model-matrix intercept
column. Defaults to \code{FALSE}.}

\item{na.action}{Missing-value handling function passed to \code{model.frame()}.}

\item{...}{Additional arguments passed to \code{kaf_fit()}.}
}
\value{
An object of class \code{"kaf_fit"}.
}
\description{
Fits a Kolmogorov-Arnold Fourier Network using a formula and data frame.
This is a convenience wrapper around \code{kaf_fit()} for regression tasks.
}
