View source: R/regression_diag_plots.R
plot_numeric_res_numcol | R Documentation |
This function plots the residuals against a numeric column based on tidymodels results for a regression model.
plot_numeric_res_numcol(
dat,
y_name,
numcol,
alpha = 1,
size = 1,
source = NULL
)
dat |
The predictions data frame in the |
y_name |
The y/response variable for the model. |
numcol |
The numerical column to plot against the residuals. |
alpha |
The opacity for the geom points. |
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.