The training.pershould match the undelying date
format of the time-series data used in modelling. Any other style
may not return what you expect.
Additional methods wrappers can be created to allow for modelling
using custom functions. The only requirements are for a wrapper
function to be constructed taking parameters quantmod,
training.data, and .... The function must return the
fitted model object and have a predict method available.
It is possible to add predict methods if non exist by
adding an S3 method for predictModel. The
buildModel.skeleton function can be used for new methods.
Value
An object of class quantmod with fitted model attached
Note
See buildModel.skeleton for information on adding additional methods