Predict univariate time series using caret ML model(for use with dynrmf)

predict_func(obj, newx)

Arguments

obj

Fitted object

newx

Test set data