View source: R/regression_diag_plots.R
plot_numeric_res_pred | R Documentation |
This function plots the predicted values against the residuals based on tidymodels results for a regression model.
plot_numeric_res_pred(dat, y_name, size = 1, source = NULL)
dat |
The predictions data frame in the |
y_name |
The y/response variable for the model. |
size |
The size for the geom points. |
source |
A character string of length 1 that matches the source argument in event_data(). |
A plotly::ggplotly()
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.