plot_numeric_res_factorcol {shinymodels} | R Documentation |
This function plots the residuals against a factor column based on tidymodels results for a regression model.
plot_numeric_res_factorcol(
dat,
y_name,
factorcol,
alpha = 1,
size = 1,
source = NULL
)
dat |
The predictions data frame in the |
y_name |
The y/response variable for the model. |
factorcol |
The factor 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.