mtrends | R Documentation |
function to visualize different indicators for trends in daily changes of cases reported as time series data, for mutliple (or single) locations
mtrends(data, geo.loc = NULL, confBnd = TRUE, info = "")
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 |
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.