Description Usage Arguments Value
This function takes any model which is designed to run on a simple time series (i.e. at the local level) and applies it to each country in turn, thus making it a global model.
1 | extendSimpleModel(data, model, imputationParameters)
|
data |
The data.table object containing the data. |
model |
The model to be applied to each individual time series. Typically, this will be a function such as one from allDefaultModels(). |
imputationParameters |
A list of the parameters for the imputation algorithms. See defaultImputationParameters() for a starting point. |
Returns a vector of the estimated/imputed values. If a value existed in the original data, then an NA is returned in that location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.