Time Series Forecasting Using Nearest Neighbors

autoplot.knnForecast | Create a ggplot object from a knnForecast object |

knn_examples | Examples of the model associated with a prediction |

knn_forecasting | Time series forecasting using KNN regression |

nearest_neighbors | Nearest neighbors associated with predictions |

n_training_examples | Number of training examples |

plot.knnForecastRO | Plot a prediction of a test set |

predict.knnForecast | Predict method for KNN models for time series forecasting. |

rolling_origin | Assessing forecasting accuracy with rolling origin |

tsfknn | tsfknn: A package for time series forecasting using KNN... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.