impute_indicators.RdIn the following order tries to fill missing values:
impute_indicators(indic)
| indic | An imputed indicator from |
|---|
A data frame that with updated actual, missing, approximated, forecasted, nocb, locf estimates.
Approximate missing values withing time series with na_approx
Next observation carry forward for old missing values na_nocb
Forecast the time series ahead indicator_forecast
If the forecast did not work, try last observation carry forward na_locf.