getModelData | R Documentation |
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(QQQ)) ~ Lag(Cl(NDX),0:5))
getModelData(my.model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.