covid_changes_between_days: Covid Changes Between Days

Description Usage Arguments Value Note

View source: R/betweendaychanges.r

Description

This function creates a bar chart using gg plot of the two dates selected, and #'plots the number of people who have died and been infected by COVID-19 in a specified region, #'on these two dates.

Usage

1
covid_changes_between_days(day1, day2, region1, region2=NULL, region3=NULL,region4=NULL,region5=NULL,region6=NULL,region7=NULL,region8=NULL,region9=NULL,region10=NULL,region11=NULL,region12=NULL,region13=NULL,region14=NULL,region15=NULL,region16=NULL)

Arguments

day1

The first date of the bar chart that you wish to visualize and compare. Written in yyyy=mm-dd format.

day2

The second date of the bar chart that you wish to visualize and compare. Written in yyyy=mm-dd format.

region1

The region whose COVID-19 data you wish to visualize in the this comparative bar chart, written in string format.

region2

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region3

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region4

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region5

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region6

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region7

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region8

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region9

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region10

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region11

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region12

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region13

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region14

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region15

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

region16

The other regions whose COVID-19 data you wish to visualize in the #'this comparative bar chart, written in string format. Defaults to 'NULL'

Value

Two GG plot bar charts of the COVID-19 data, for days and regions selected

Note

Regions must be written in full names


Graham693/CovCan-R_Package documentation built on Feb. 25, 2021, 2:01 p.m.