Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

update_modeltime_model

Update the model by model id in a Modeltime Table


Description

Update the model by model id in a Modeltime Table

Usage

update_modeltime_model(object, .model_id, .new_model)

Arguments

object

A Modeltime Table

.model_id

A numeric value matching the .model_id that you want to update

.new_model

A fitted workflow, model_fit, or mdl_time_ensmble object

See Also

Examples

library(tidymodels)

model_fit_ets <- exp_smoothing() %>%
    set_engine("ets") %>%
    fit(value ~ date, training(m750_splits))

m750_models %>%
    update_modeltime_model(1, model_fit_ets)

modeltime

The Tidymodels Extension for Time Series Modeling

v0.5.1
MIT + file LICENSE
Authors
Matt Dancho [aut, cre], Business Science [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.