blockStart             package:fCalendar             R Documentation

_E_q_u_a_l_l_y _s_i_z_e_d '_t_i_m_e_D_a_t_e' _B_l_o_c_k_s

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

     Creates start (end) dates for equally sized 'timeDate' blocks.

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

     blockStart(x, block = 20)
     blockEnd(x, block = 20)

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

   block: an integer value specifying the length in number of records
          for numerically sized blocks of dates. 

       x: an object of class 'timeDate'. 

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

     The functions 'blockStart' and 'blockEnd' create vectors  of start
     and end values for equally sized 'timeDate' blocks. Note, the
     functions are event counters and not a time counter between
     measuring time intervals between start and end dates! For equally 
     sized blocks in time one has before to align the time stamps in
     equal  time differences.

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

     returns an object of class '"timeDate"'.

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

       
     ## timeSequence
        # 360 Days Series:
        tS <- timeSequence(length.out = 360)
         
     ## blockStart | blockEnd -
        Start <- blockStart(tS, 30)
        End <- blockEnd(tS, 30)
        Start
        End
        End-Start

