-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
46 lines (34 loc) · 1.54 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# utsf
<!-- badges: start -->
[](https://github.com/franciscomartinezdelrio/utsf/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
The utsf package provides an engine for univariate time series forecasting using different regression models in an autoregressive way. The engine provides an uniform interface for applying the different models. Furthermore, it is extensible so that users can easily apply their own regression models to univariate time series forecasting and benefit from all the features of the engine, such as preprocessings or estimation of forecast accuracy.
## Installation
You can install the development version of utsf from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("franciscomartinezdelrio/utsf")
```
## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
library(utsf)
# Forecast the next 12 future values of time series AirPassengers using random forest
f <- forecast(AirPassengers, h = 12, method = "rf")
f$pred # to see the forecast
library(ggplot2)
autoplot(f)
```
If you are interested in this package you can read its vignette where all its important features are described.