estimateRRs: estimate rolling rates for a given geographical location for...

View source: R/covid19_rollingEstimates.R

estimateRRsR Documentation

estimate rolling rates for a given geographical location for an specific TS data

Description

estimate rolling rates for a given geographical location for an specific TS data

Usage

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)


covid19.analytics documentation built on Oct. 16, 2023, 1:06 a.m.