generate_week_bar_plot2 | R Documentation |
generate_week_bar_plot() creates an absolute or a relative bar plot.
generate_week_bar_plot2(
date_vec,
values,
date_min,
date_max,
ylim = NULL,
ylbl = "Values"
)
date_vec |
Vector containing dates |
values |
Vector containing values to sum |
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 |
ylbl |
String of the y-axis |
This function returns a ggplot object which contains a bar plot of frequencies by week
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.