graph.etalonnage | R Documentation |
S3 method for class etalonnage
.
## S3 method for class 'etalonnage' graph( x, start_graph = x$first_date, title = NULL, save = FALSE, filename = NULL, legend_text_size = 12, axis_text_size = 11, annotation_size = 5.5, date_breaks = "1 year", y_limits = NULL, annotate = FALSE, annotation_x = 45, annotation_y = -0.06 )
x |
An object of class etalonnage. |
start_graph |
A character indicating the first date to plot, must be of
the form |
title |
A character indicating a title for the plot - if missing
defaults to |
save |
A boolean - if missing defaults to |
filename |
A character, file name to create on disk - if missing
defaults to |
legend_text_size |
A numeric - if missing defaults to 12. |
axis_text_size |
A numeric - if missing defaults to 11. |
annotation_size |
A numeric - if missing defaults to 5.5. |
date_breaks |
A character indicating date breaks on the x axis of the
plot - if missing defaults to |
y_limits |
A vector of two non- |
annotate |
A logical - if missing defaults to |
annotation_x |
A numeric indicating the position of the annonation on x-axis - if missing defaults to 45 (days). |
annotation_y |
A numeric indicating the position of the annonation on y-axis - if missing defaults to -0.06 (- 6 %). |
A ggplot2 plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.