powered by
This function plots time series of new and total COVID-19 tests, possibly in proportion to population.
drawTests(data, countries, start = "2020-06-01", end = "last", measure = "new_tests", atop = TRUE, perThousand = FALSE, drawMean = TRUE, bars = TRUE, log = FALSE)
No value.
data frame similar to (or including the same columns as) dataCovid
dataCovid
vector of characters strings indicating the countries for which the time series are plotted
beginning date of the time window for which the time series are plotted
ending date of the time window for which the time series are plotted
statistic for which the time series are 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 thousand
logical indicating if a smoothed curve is drawn
logical indicating if bars are plotted
logical indicating if a log scale is used in the plot
Arto Luoma <arto.luoma@wippies.com>
dataCovid, drawPositiveRate
data(dataCovid) drawTests(dataCovid,countries=c("Finland","France"),perThousand=TRUE)
Run the code above in your browser using DataLab