| plot_actual_vs_predicted | R Documentation |
Creates a scatter plot of actual vs predicted values with a 1:1 reference line.
plot_actual_vs_predicted(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_actual_vs_predicted(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.