Adds common plot elements like grid, reference lines, and statistics text.
add_plot_annotations(
add_grid = TRUE,
reference_lines = NULL,
stats_text = NULL,
stats_position = "topright"
)NULL (modifies current plot)
Logical, add grid lines, default TRUE
Numeric vector of reference line positions
Character vector of statistics to display
Position for statistics: "topright", "topleft", etc.