c19_var_plot: Various plots from data.gov.bg data.

Description Usage Arguments See Also

View source: R/c19_var_plot.R

Description

Various plots from data.gov.bg data.

Usage

1
2
3
4
5
6
7
8
9
c19_var_plot(
  chart,
  roll_func = NULL,
  roll_window = 7,
  roll_align = "right",
  roll_fill = NA,
  line_legend = NULL,
  country_data = c19_bg_data()
)

Arguments

chart

one of: "casesdeaths" | "age" | "dis" | "cases" | "hospitalized" | "positivity" | "pospcr" | "posag"

roll_func

function to roll, e.g. mean (default NULL = raw daily)

roll_window

window for roll func in days (e.g. 7, 14)

roll_align

rolling alignment (default: "right")

roll_fill

fill missing values for rolling function (default: NA)

line_legend

regular expression specifying lines that should be labelled in-plot

country_data

country data

See Also

Other plot funcs: c19_deaths_age(), c19_deaths_factor(), c19_deaths_map(), c19_deaths_total(), c19_eu_weekly(), c19_heat(), c19_oblasts(), c19_r_plot()


StanTraykov/c19bg documentation built on Nov. 2, 2021, 4:46 a.m.