| plot_qq | R Documentation |
Creates a normal Q-Q plot of the model residuals.
plot_qq(earth_result, response_idx = NULL)
earth_result |
An object of class |
response_idx |
Integer or |
A ggplot2::ggplot object.
result <- fit_earth(mtcars, "mpg", c("cyl", "disp", "hp", "wt"))
plot_qq(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.