plot_numeric_res_numcol {shinymodels} | R Documentation |
Visualizing residuals vs. a numeric column for a regression model
Description
This function plots the residuals against a numeric column based on tidymodels results for a regression model.
Usage
plot_numeric_res_numcol(
dat,
y_name,
numcol,
alpha = 1,
size = 1,
source = NULL
)
Arguments
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(). |
Value
A plotly::ggplotly()
object.
[Package shinymodels version 0.1.1 Index]