View source: R/16.1-plot-core.R
| add_plot_annotations | R Documentation |
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"
)
add_grid |
Logical, add grid lines, default TRUE |
reference_lines |
Numeric vector of reference line positions |
stats_text |
Character vector of statistics to display |
stats_position |
Position for statistics: "topright", "topleft", etc. |
NULL (modifies current plot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.