checkConsistentDimensions        package:dse1        R Documentation

_C_h_e_c_k _C_o_n_s_i_s_t_e_n_t _D_i_m_e_n_s_i_o_n_s

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

     Check that dimensions of a model and data agree.

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

         checkConsistentDimensions(obj1, obj2=NULL)
         ## Default S3 method:
         checkConsistentDimensions(obj1, obj2=NULL)
         ## S3 method for class 'ARMA':
         checkConsistentDimensions(obj1, obj2=NULL)
         ## S3 method for class 'SS':
         checkConsistentDimensions(obj1, obj2=NULL)
         ## S3 method for class 'TSdata':
         checkConsistentDimensions(obj1, obj2=NULL)
         ## S3 method for class 'TSestModel':
         checkConsistentDimensions(obj1, obj2=NULL)
         

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

    obj1: An object containing a TSmodel, TSdata, or TSestModel,
          depending on the method

    obj2: Another object containing TSdata corresponding to the TSmodel
          in obj1, or a TSmodel corresponding to the TSdata in obj1.

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

     Check that dimensions of a model and data agree. If 'obj1' is a
     'TSestModel' then if 'obj2' is 'NULL, TSdata' is  taken from
     'obj1'.

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

     logical

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

         if(is.R()) data("eg1.DSE.data.diff", package="dse1")
         model <- estVARXls(eg1.DSE.data.diff)
         checkConsistentDimensions(model)

