end                  package:tframe                  R Documentation

_G_e_n_e_r_i_c _T_i_m_e _S_e_r_i_e_s _P_a_r_a_m_e_t_e_r_s

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

     Functions for extracting time information from tframes or  tframed
     objects.

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

         start(x)
         start(x)
         start(x)
         start(x)
         start(x)
         start(x)

         end(x)
         end(x)
         end(x)
         end(x)
         end(x)
         end(x)

         frequency(x)
         frequency(x)
         frequency(x)
         frequency(x)
         frequency(x)
         frequency(x)

         periods(x, ...)
         periods(x)
         periods(x)
         periods(x)
         periods(x)
         periods(x)
         periods(x)
         periods(x)
         periods(x)
         periods(x)
         periods(x)

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

       x: A tframe or a tframed object. 

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

     The methods start and end return the start or end date of a tframe
     or tframed object. Periods return the number of observations (time
     points). frequency returns the frequency of observation, 
     typically the number of observations in a year for economic data,
     but possibly something else in other contexts.  The concept of
     frequency is not very consistently defined for time series data,
     and the use of  the frequency method should probably be avoided
     where possible. In practice it seems rarely necessary, but the
     method makes porting of  older code much easier.

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

     Depends

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

     `tframe',  `tframed'

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

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

