julian              package:event.chart              R Documentation

_J_u_l_i_a_n

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

     Convert between Calendar Dates and Julian.

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

     julian(m, d, y, origin=c(month=1, day=1, year=1960))

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

       m: vector of month numbers.

       d: vector of day numbers.

       y: vector of years

  origin: vector specifying the origin as month, day, and year. If
          missing, it defaults to options(chron.origin) if this is
          non-null, otherwise c(month=1, day=1, year=1960).

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

     This function was taken from Becker, Chambers, and Wilks (1988),
     and was slightly modified to take dates objects; some also take
     the extra argument origin.

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

     For each date, the function return the number of days between it
     and January 1, 1960. The date will be missing if the string is not
     interpretable.

