A methodology for applying k-nearest neighbor to time series forecasting
Automatic time series forecasting: The forecast package for R