| plot_correlation_matrix | R Documentation |
Creates a heatmap of pairwise correlations among the target variable and numeric predictors, with cells colored by degree of correlation and values printed in each cell.
plot_correlation_matrix(earth_result)
earth_result |
An object of class |
A ggplot2::ggplot object.
result <- fit_earth(mtcars, "mpg", c("cyl", "disp", "hp", "wt"))
plot_correlation_matrix(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.