corona_lockdown {corona}R Documentation

Draw multiple smoothed graphs of new daily cases, with lockdown date, if present

Description

By default limited to countries with population > 4M, and over 200 cases. This may take over 5s to run, depending on your hardware.

Usage

corona_lockdown(
  pdf = FALSE,
  minpeople = 4e+06,
  mincases = 200,
  cols = 7,
  striptextsize = 10,
  textsize = 10,
  legendx = 0.94,
  legendy = 0.02
)

Arguments

pdf

print to PDF

minpeople

Minimum population for the country

mincases

Minimum number of COVID-19 cases

cols

Number of columns to display, default = 7

striptextsize

size of text in country names

textsize

Size of text header

legendx

X position of legend

legendy

Y position of legend

Examples

## Not run: 
corona_lockdown( cols=14 )  

## End(Not run)

[Package corona version 0.3.0 Index]