add_weekly_avg: Add Weekly average summary, for each country

Description Usage Arguments Value Examples

View source: R/add-weekly-avg.R

Description

Add Weekly average summary, for each country

Usage

1

Arguments

covid

covid19 data

...

variables to compute weekly average of

Value

data frame with weekly average computed

Examples

1
2
3
4
5
6
7
## Not run: 
covid <- covid_latest()
add_weekly_avg(covid, cases)
add_weekly_avg(covid, deaths)
add_weekly_avg(covid, cases, deaths)

## End(Not run)

CBDRH/covidrecon documentation built on May 27, 2020, 9:41 a.m.