mtrends: function to visualize different indicators for trends in...

View source: R/covid19_anal.R

mtrendsR 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

ts.data <- covid19.data("ts-confirmed")
mtrends(ts.data, geo.loc=c("Canada","Ontario","Uruguay","Italy"))


covid19.analytics documentation built on Aug. 18, 2022, 9:06 a.m.