| refit.model_mean {fable} | R Documentation |
Applies a fitted average method model to a new dataset.
## S3 method for class 'model_mean' refit(object, new_data, specials = NULL, reestimate = FALSE, ...)
object |
The time series model used to produce the forecasts |
new_data |
A |
specials |
(passed by |
reestimate |
If |
... |
Additional arguments for forecast model methods. |
lung_deaths_male <- as_tsibble(mdeaths) lung_deaths_female <- as_tsibble(fdeaths) fit <- lung_deaths_male %>% model(MEAN(value)) report(fit) fit %>% refit(lung_deaths_female) %>% report()