View source: R/covid19_rollingEstimates.R
estimateRRs | R Documentation |
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
)
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 |
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.