

days(chron)                                  R Documentation

_R_e_t_u_r_n _V_a_r_i_o_u_s _P_e_r_i_o_d_s _f_r_o_m _a _C_h_r_o_n _o_r _D_a_t_e_s _O_b_j_e_c_t

_U_s_a_g_e_:

     days(x)
     weekdays(x, abb = TRUE)
     months(x, abb = TRUE)
     quarters(x, abb = TRUE)
     years(x)

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

       x: a dates object.

     abb: should abbreviated names be returned? Default is
          `TRUE'.

_V_a_l_u_e_:

     an ordered factor corresponding to days, weekdays,
     months, quarters, or years of `x' for the respective
     function.

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

     `is.weekend', `is.holiday'

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

     dts <- dates("07/01/78") + trunc(50 * rnorm(30))
     plot(weekdays(dts))
     plot(months(dts))

