Other packages > Find by keyword >

tsfknn  

Time Series Forecasting Using Nearest Neighbors
View on CRAN: Click here


Download and install tsfknn package within the R console
Install from CRAN:
install.packages("tsfknn")

Install from Github:
library("remotes")
install_github("cran/tsfknn")

Install by package version:
library("remotes")
install_version("tsfknn", "0.6.0")



Attach the package and use:
library("tsfknn")
Maintained by
Francisco Martinez
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-03-27
Latest Update: 2023-12-20
Description:
Allows forecasting time series using nearest neighbors regression Francisco Martinez, Maria P. Frias, Maria D. Perez-Godoy and Antonio J. Rivera (2019) <doi:10.1007/s10462-017-9593-z>. When the forecasting horizon is higher than 1, two multi-step ahead forecasting strategies can be used. The model built is autoregressive, that is, it is only based on the observations of the time series. The nearest neighbors used in a prediction can be consulted and plotted.
How to cite:
Francisco Martinez (2018). tsfknn: Time Series Forecasting Using Nearest Neighbors. R package version 0.6.0, https://cran.r-project.org/web/packages/tsfknn. Accessed 27 Oct. 2026.
Previous versions and publish date:
(2026-10-13 10:40), 0.1.0 (2018-03-27 12:08), 0.2.0 (2019-04-09 13:10), 0.3.0 (2019-05-31 13:20), 0.4.0 (2020-06-04 10:40), 0.5.0 (2021-04-05 10:10), 0.5.1 (2023-03-09 11:00), 0.5.2 (2023-09-04 10:40), 0.6.0 (2023-12-20 17:20)
Other packages that cited tsfknn R package
View tsfknn citation profile
Other R packages that tsfknn depends, imports, suggests or enhances
Complete documentation for tsfknn
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

usemodels  
Boilerplate Code for 'Tidymodels' Analyses
Code snippets to fit models using the tidymodels framework can be easily created for a given data se ...
Download / Learn more Package Citations See dependency  
spanish  
Translate Quantities from Strings to Integer and Back. Misc Functions on Spanish Data
Character vector to numerical translation in Euros from Spanish spelled monetary quantities. Reverse ...
Download / Learn more Package Citations See dependency  
exams2learnr  
Interface for 'exams' Exercises in 'learnr' Tutorials
Automatic generation of quizzes or individual questions for 'learnr' tutorials based on 'R/exams' ex ...
Download / Learn more Package Citations See dependency  
SGB  
Simplicial Generalized Beta Regression
Main properties and regression procedures using a generalization of the Dirichlet distribution calle ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA