Update model's dataset
Update currently specified or built model with most recent data.
getModelData(x, na.rm = TRUE)
x |
An object of class |
na.rm |
Boolean. Remove NA values. Defaults to TRUE |
Primarily used within specify model calls,
getModelData
is used to retrieve the appropriate underlying variables,
and apply model specified transformations automatically.
It can be used to also update a current model in memory with the most recent data.
Returns object of class quantmod.OHLC
Jeffrey Ryan
getSymbols
load data
specifyModel
create model structure
buildModel
construct model
modelData
extract model dataset
## Not run: my.model <- specifyModel(Next(OpCl(QQQQ)) ~ Lag(Cl(NDX),0:5)) getModelData(my.model) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.