round               package:fCalendar               R Documentation

_R_o_u_n_d_i_n_g _a_n_d _T_r_u_n_c_a_t_i_n_g '_t_i_m_e_D_a_t_e' _O_b_j_e_c_t_s

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

     Rounds and truncates objects of class 'timeDate'.

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

     ## S3 method for class 'timeDate':
     round(x, digits = c("days", "hours", "mins")) 

     ## S3 method for class 'timeDate':
     trunc(x, units = c("days", "hours", "mins"), ...)     

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

digits, units: a character string denoting the date/time units in which
          the  results are desired. 

       x: an object of class 'timeDate'. 

     ...: arguments passed to other methods. 

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

     The two functions 'round' and 'trunc' allow to round or to 
     truncate 'timeDate' objects to the specified unit and return them
     as 'timeDate' objects. - Note, ther is an inconsistency 'round'
     uses 'digits' as argument and not 'units'.

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

     ## round - 

     ## truncate -

