Skip to contents

Creates a visualization of fitted values across posterior draws, including individual draw lines, median, and 95% intervals.

Usage

plot_smoothing_fits(
  smoothing_results,
  x_lab = NULL,
  y_lab = "Residual",
  title = "",
  subtitle = ""
)

Arguments

smoothing_results

Output from residual_model_check()

x_lab

Label for x-axis (default: NULL, uses predictor name)

y_lab

Label for y-axis

title

Plot title

subtitle

Plot subtitle

Value

A ggplot object