mtrends {covid19.analytics} | R Documentation |
function to visualize different indicators for trends in daily changes of cases reported as time series data, for mutliple (or single) locations
Description
function to visualize different indicators for trends in daily changes of cases reported as time series data, for mutliple (or single) locations
Usage
mtrends(data, geo.loc = NULL, confBnd = TRUE, info = "")
Arguments
data |
data.frame with *time series* data from covid19 |
geo.loc |
list of locations |
confBnd |
flag to activate/deactivate drawing of confidence bands base on a moving average window |
info |
additional info to display in the plot |
Examples
# triggers CRAN checks for timing
## Not run:
ts.data <- covid19.data("ts-confirmed")
mtrends(ts.data, geo.loc=c("Canada","Ontario","Uruguay","Italy"))
## End(Not run)
[Package covid19.analytics version 2.1.3.3 Index]