generate_day_bar_plot | R Documentation |
generate_day_bar_plot() creates an absolute or a relative bar plot.
generate_day_bar_plot(
date_vec,
date_min,
date_max,
ylim = NULL,
ylbl = "Frequencies",
rref = NULL,
relative = FALSE,
date_vec_ref = NULL
)
date_vec |
Vector containing dates |
date_min |
Start date of the plot |
date_max |
End date of the plot |
ylim |
Numeric vector of length 2 that contains the min and max values of the y-axis (optional, default = NULL) |
ylbl |
String of the y-axis (optional, default = NULL) |
rref |
reference value (optional, default = NULL) |
relative |
Boolean for plotting relative/absolute plots (optional, default = FALSE) |
date_vec_ref |
Vector containing reference dates (optional, default = NULL) |
This function returns a ggplot object which contains a bar plot of frequencies by dates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.