do_fit: Fit Time Series Model

View source: R/ts_reg.R

do_fitR Documentation

Fit Time Series Model

Description

Generic for fitting a time series model. Descendants should implement ⁠do_fit.<class>⁠.

Usage

do_fit(obj, x, y = NULL)

Arguments

obj

Model object to be fitted.

x

Matrix or data.frame with input features.

y

Vector or matrix with target values.

Value

A fitted object (same class as obj).


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