view.covid.deaths: Plot COVID19 deaths

Description Usage Arguments Value Examples

View source: R/viewdeath.R

Description

The function creates line chart displaying the number of COVID19 deaths (7-days mean) in Brazil

Usage

1
view.covid.deaths(x, ibgeinfo = NA, top5 = FALSE)

Arguments

x

a data frame with COVID19 information from load.covid()

ibgeinfo

a data frame (default = NA, all Brazil data) from ibge.id()

top5

boolean (default = FALSE). True if id == NA. If True, displays the top5 states in total number of cases

Value

A line chart with covid19 deaths in function of time

Examples

1
2
3
covid <- load.covidBr()
myid <- ibge.id('SP')
mychart <- view.covid.deaths(covid, myid)

dtiezzi/COVIDBR documentation built on Feb. 17, 2021, 9:46 a.m.