powered by
Generic for fitting a time series model. Descendants should implement do_fit.<class>.
do_fit.<class>
do_fit(obj, x, y = NULL)
A fitted object (same class as obj).
obj
Model object to be fitted.
Matrix or data.frame with input features.
Vector or matrix with target values.