Start and end times for segment lists and trackdata ojectspackage:emuR Documentation

_S_t_a_r_t _a_n_d _e_n_d _t_i_m_e_s _f_o_r _E_M_U _s_e_g_m_e_n_t _l_i_s_t_s _a_n_d _t_r_a_c_k_d_a_t_a _o_b_j_e_c_t_s

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

     Obtain start and end times for EMU segment lists and trackdata
     objects

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

     ## S3 method for class 'emusegs':
     start(x, ...)
     ## S3 method for class 'emusegs':
     end(x, ...)
     ## S3 method for class 'trackdata':
     start(x, ...)
     ## S3 method for class 'trackdata':
     end(x, ...)

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

       x: a segment list or a trackdata object 

     ...: due to the generic only

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

     The function returns the start and/or end times of either a
     segment list or a trackdata object. The former refers to the
     boundary times of segments, the latter the start and end times at
     which the tracks from segments occur. start.emusegs and
     end.emusegs give exactly the same output as start and end
     respectively.

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

     A vector of times.

_A_u_t_h_o_r(_s):

     Jonathan Harrington

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

     'tracktimes'

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

     # start time of a segment list
     start(polhom)
     # duration of a segment list
     end(polhom) - start(polhom)
     # duration from start time of segment list
     # and start time of parallel EPG trackdata
     start(polhom) - start(polhom.epg)

