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))

