R/mars_earth.R

#' Multivariate adaptive regression splines (MARS) via earth
#'
#' [earth::earth()] fits a generalized linear model that uses artificial features for
#' some predictors. These features resemble hinge functions and the result is
#' a model that is a segmented regression in small dimensions.
#'
#' @includeRmd man/rmd/mars_earth.md details
#'
#' @name details_mars_earth
#' @keywords internal
NULL

# See inst/README-DOCS.md for a description of how these files are processed

Try the parsnip package in your browser

Any scripts or data that you put into this service are public.

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.