Description Usage Arguments Details Examples
Generate SAS DATA step code to predict the values of a Multivariate Adaptive Regression Splines (MARS) model from the earth package.
1 |
fit |
a MARS model trained by |
name |
the name of the variable in which to store the prediction |
type |
For classification models |
This function supports regression and binary classification (when
earth
is called with glm=list(family=binomial)
.
This function supports only numeric variables, so any factors must first be
converted to numeric variables (as train
normally does).
Interactions (degree > 1)
are supported.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.