view.covid.newcases: Plot COVID19 new cases

Description Usage Arguments Value Examples

View source: R/viewnew.R

Description

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

Usage

1
view.covid.newcases(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 incidence in function of time

Examples

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

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