Learn R Programming

daltoolbox (version 1.1.727)

do_fit: Fit Time Series Model

Description

The actual time series model fitting. This method should be override by descendants.

Usage

do_fit(obj, x, y = NULL)

Value

returns a fitted object

Arguments

obj

an object representing the model or algorithm to be fitted

x

a matrix or data.frame containing the input features for training the model

y

a vector or matrix containing the output values to be predicted by the model