do_predict: Predict Time Series Model

View source: R/ts_reg.R

do_predictR Documentation

Predict Time Series Model

Description

Generic for predicting with a fitted time series model. Descendants should implement ⁠do_predict.<class>⁠.

Usage

do_predict(obj, x)

Arguments

obj

Fitted model object.

x

Matrix or data.frame with input features to predict.

Value

Numeric vector with predicted values.


tspredit documentation built on Feb. 11, 2026, 9:08 a.m.