checktframeConsistent         package:tframe         R Documentation

_C_h_e_c_k _f_o_r _a _C_o_n_s_i_s_t_e_n_t _t_f_r_a_m_e

_D_e_s_c_r_i_p_t_i_o_n:

     Check if tframe and a time series are consistent with one another.

_U_s_a_g_e:

         checktframeConsistent(tf, x)
         ## Default S3 method:
         checktframeConsistent(tf, x)
         

_A_r_g_u_m_e_n_t_s:

      tf: A tframe)

       x: An object)

_D_e_t_a_i_l_s:

     Check if the number of periods in the tframe corresponds to the
     number of observations in the time series.

_V_a_l_u_e:

     A logical scalar.

_S_e_e _A_l_s_o:

     'is.tframe' 'periods'

_E_x_a_m_p_l_e_s:

         z <- ts(rnorm(100), start=c(1982,1), frequency=12)
         checktframeConsistent(tframe(z), rnorm(100))

