fit_mars | R Documentation |
klassets_xy
objectFit Multivariate Adaptive Regression Splines to klassets_xy
object
fit_mars(df, ...)
df |
A object from |
... |
Options for |
df <- sim_xy() df dfmars <- fit_mars(df) dfmars plot(dfmars) df <- sim_xy(n = 1000, x_dist = runif) df <- dplyr::mutate(df, y = y + 2*sin(5 * x)) plot(df) plot(fit_mars(df))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.