View source: R/format_results.R
| format_anova | R Documentation |
Extracts the ANOVA table from a fitted earth model.
format_anova(earth_result)
earth_result |
An object of class |
A data frame with the ANOVA decomposition showing which predictors contribute to each basis function and their importance.
result <- fit_earth(mtcars, "mpg", c("cyl", "disp", "hp", "wt"))
format_anova(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.