Learn R Programming

tsSelect (version 0.1.8)

run_models: Run ts Models

Description

Function that executes several models and picks the best one.

Usage

run_models(ts1, accuracy_measure = NULL)

Arguments

ts1
A timeseries object
accuracy_measure
- Possilbe error meassures: ME, RMSE, MAE, MPE ,MAPE, MASE, ACF1

Value

the best time series model

Examples

Run this code
data(ros1_ts)
run_models(ros1_ts)
run_models(ros1_ts,"RMSE")

Run the code above in your browser using DataLab