rccs_ggplot_doubling_time: GGplot2 doubling time graph A function to generate static...

Description Usage Arguments Value

View source: R/rccs_ggplot_doubling_time.R

Description

GGplot2 doubling time graph A function to generate static doubling time graphs

Usage

1
2
3
4
5
6
7
8
9
rccs_ggplot_doubling_time(
  csse_data_object,
  iso3c_country_code,
  plot_title = NA,
  window_size = 7,
  min_cases = 100,
  start_date = NA,
  end_date = NA
)

Arguments

csse_data_object

a CsseData object created by load_csse

iso3c_country_code

a character vector of iso3c country codes

plot_title

a character string containing the plot title

window_size

the size of the sliding window used to estimate the doubling time

min_cases

the minimal number of cases to estimate the doubling time

start_date

either NA or the start date of data

end_date

either NA of the end date of data

Value

a ggplot2 object


supertux83/rccs documentation built on Aug. 1, 2020, 11:53 p.m.