powered by
This function plots several epidemic statistics for selected countries.
drawBars(data, countries, start = "2020-06-01", end = "last", measure = "new_cases", atop = TRUE, perMillion = FALSE, drawMean = TRUE, bars = TRUE)
No value.
data frame similar to (or including the same columns as) dataCovid
dataCovid
vector of characters srings indicating the countries for which the selected statistic is plotted
beginning date of the time window for which the statistic is plotted
ending date of the time window for which the statistic is plotted
statistic to be plotted
logical indicating if the bars of different countries are plotted on top of one another
logical indicating if the statistic is proportioned to a population of million
logical indicating if a smoothed curve is drawn
logical indicating if bars are plotted
Arto Luoma <arto.luoma@wippies.com>
drawBarsFin, dataCovid
drawBarsFin
data(dataCovid) drawBars(data=dataCovid, countries=c('Finland','France'),start='2020-6-1', measure='new_cases',perMillion=TRUE)
Run the code above in your browser using DataLab