applies the modeltime_refit() function from the 'modeltime' package to multiple series and models.

modeltime_multirefit(models_table)

Arguments

models_table

'table_time' tibble generated from the modeltime_multifit() function.

Value

retrained 'table_time' object.

Details

it takes the 'table_time' tibble generated with the modeltime_multifit() function and returns the same object but with the models fitted for the complete period.

Examples

# Data library(modeltime) data_serie <- head(sknifedatar::table_time$table_time,1) # modeltime_multirefit sknifedatar::modeltime_multirefit(models_table = data_serie)
#> frequency = 12 observations per 1 year
#> frequency = 12 observations per 1 year
#> # A tibble: 1 x 6 #> sector nested_column m_ets m_nnetar nested_model calibration #> <chr> <list> <list> <list> <list> <list> #> 1 Comercio <tibble [49 × 2<fit[+<fit[+]> <model_time [2 ×<model_time [2 ×