estimate rolling rates for a given geographical location for an specific TS data
estimate rolling rates for a given geographical location for an specific TS data
estimateRRs( data =NULL, geo.loc =NULL, period =NULL, graphics.ON =TRUE, splitG =TRUE)
Arguments
data: time series dataset to consider
geo.loc: country/region to analyze
period: length of window
graphics.ON: boolean flag to activate/deactivate graphical output
splitG: boolean flag for having the graphical output separated or not
Examples
# the following examples take longer than 10 sec, and triggers CRAN checks## Not run:estimateRRs(covid19.data("TS-all"), geo.loc='Peru', period=7)estimateRRs(covid19.data("TS-all"), geo.loc=c('Peru','Argentina','Uruguay','US','Spain','Japan'), period=7)## End(Not run)