Description Usage Arguments Value Examples
Use Rob Hyndman's forecast package to estimate drift in ARIMA models
1 2 3 4 5 6 7 8 9 10 | Arima_nation(
ejhu,
alp3 = "USA",
MAorder = NULL,
Difforder = 1,
basedate = "2020-02-15",
lookback_days = 29,
ARorder = NULL,
max_date = NULL
)
|
ejhu |
a tibble as returned by |
alp3 |
character(1) alpha3Code value for country |
MAorder |
numeric(1) order of moving average component |
Difforder |
numeric(1) differencing order d of ARIMA(p,d,q) |
basedate |
character(1) used by lubridate::as_date to filter away all earlier records |
lookback_days |
numeric(1) only uses this many days from most recent in ejhu |
ARorder |
order of autoregressive component |
max_date |
a date from which to start lookback ... defaults to NULL in which case the latest available date is used |
instance of S3 class Arima_sars2pack
1 2 3 4 | ej = enriched_jhu_data()
lkus = Arima_nation(ej)
lkus
plot(lkus)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.