generate_day_cumbar_plot: Create a cumulative daily bar plot

View source: R/plots.R

generate_day_cumbar_plotR Documentation

Create a cumulative daily bar plot

Description

generate_day_cumbar_plot() creates a bar plot.

Usage

generate_day_cumbar_plot(
  date_vec_list,
  lbl_vec,
  date_min,
  date_max,
  ylim = NULL,
  ylbl = "Frequencies"
)

Arguments

date_vec_list

List of vectors containing dates

lbl_vec

Vector of strings containing the name of each group

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

Value

This function returns a ggplot object which contains a cumulative bar plot of frequencies by dates


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.