R/pred_reg.R
plot_reg_predict.Rd
Returns a fitted-vs-observed line plot, with optional confidence bands.
plot_reg_predict(model_result, type = c("fitted", "predicted"), show_ci = TRUE)
A fitted result from any reg_*() function.
reg_*()
Character. Currently supports "fitted" only.
"fitted"
Logical. Whether to overlay confidence intervals. Default TRUE.
TRUE
A ggplot object.