Models are specified through the standard formula mechanism.
As financial models may include a
variety of financial and economic indicators,
each differing in source, frequency, and/or class,
a single mechanism to specify sources is
included within a call to specifyModel.
See getModelData
for details of
how this process works.
Currently, objects of class quantmod.OHLC
,
zoo
and ts
are supported within the
model formula.
All symbols are first retrieved from the global environment, without inheritence.
If an object is not found in the global environment, it is added to a
list of objects to load through the getSymbols
function. getSymbols retrieves each
object specified by using information
as to its location specified apriori
via setDefaults
or setSymbolLookup
.
Internally all data is coerced to zoo
,data.frame
,
or numeric
classes.