getModelData            package:quantmod            R Documentation

_U_p_d_a_t_e _m_o_d_e_l'_s _d_a_t_a_s_e_t

_D_e_s_c_r_i_p_t_i_o_n:

     Update currently specified or built model with most recent data.

_U_s_a_g_e:

     getModelData(x, na.rm = TRUE)

_A_r_g_u_m_e_n_t_s:

       x: An object of class 'quantmod' 

   na.rm: Boolean. Remove NA values. Defaults to TRUE 

_D_e_t_a_i_l_s:

     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.

_V_a_l_u_e:

     Returns object of class 'quantmod.OHLC'

_A_u_t_h_o_r(_s):

     Jeffrey Ryan

_S_e_e _A_l_s_o:

     'getSymbols' load data 'specifyModel' create model structure
     'buildModel' construct model 'modelData' extract model dataset

_E_x_a_m_p_l_e_s:

     ## Not run: 
     my.model <- specifyModel(Next(OpCl(QQQQ)) ~ Lag(Cl(NDX),0:5))
     getModelData(my.model)
     ## End(Not run)

