getModelData: Update model's dataset

Description Usage Arguments Details Value Author(s)

Description

getModelData updates the currently specified or built model with most recent data. getModelData is a re-implementation of the R CRAN package getModelData with added flexibility in source.envir and Dots.

Usage

1
getModelData(x, na.rm = TRUE, source.envir = NULL, ...)

Arguments

x

Default is none. Required. An object of class quantmod.

na.rm

Logical. Defaults to TRUE. Remove NA values.

source.envir

Default is NULL. First place to search for Symbols.

...

Dots passed to getSymbolsEnv.

Details

1
2
3
4
5
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.

Value

Returns object of class quantmod.OHLC

Author(s)

Andre Mikulec (re-implementation)

Jeffrey Ryan


AndreMikulec/econModel documentation built on June 30, 2021, 9:48 a.m.