start               package:fCalendar               R Documentation

_T_e_r_m_i_n_a_l _T_i_m_e_s _a_n_d _R_a_n_g_e

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

     Extracts the time the first or last  observation was taken, or
     computes the range.

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

     ## S3 method for class 'timeDate':
     start(x, ...)

     ## S3 method for class 'timeDate':
     end(x, ...)

     ## S3 method for class 'timeDate':
     min(..., na.rm = FALSE)

     ## S3 method for class 'timeDate':
     max(..., na.rm = FALSE)

     ## S3 method for class 'timeDate':
     range(..., na.rm = FALSE)

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

       x: an object of class 'timeDate'. 

     ...: [start][end] - 
           not used, 
           [min][max] - 'timeDates' objects. 

   na.rm: not used. 

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

     Note, the series will be time ordered before the start or end time
     stamps are extracted. Sorting is done in the way that the first
     observation appears in time before the  last observation.

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

     returns an object of class 'timeDate'.

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

       
     ## timeCalendar - 
        # Random Calendar Dates:
        tR = sample(timeCalendar())
        sort(tR)
        tR
         
     ## start | end  -
        start(tR)
        end(tR)
        
     ## The First and Last Time Stamp:
        tR[1]
        tR[length(tR)]
        rev(tR)[1]
        
     ## The Range:
        c(start(tR), end(tR))
        range(tR)

