buildtrack                package:emu                R Documentation

_B_u_i_l_d _t_r_a_c_k_d_a_t_a _o_b_j_e_c_t_s _f_r_o_m _t_h_e _o_u_t_p_u_t _o_f _b_y()

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

     buildtrack() converts a list that is the output of by.trackdata()
     into a trackdata object if the list components are matrices whose
     rows are successive values in time.

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

         buildtrack(mylist, ftime = NULL, trackname = "")

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

  mylist: a list that ist output from by() 

   ftime: ftime 

trackname: name of track data object

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

     The default of by.trackdata() is to return a list. If  each
     element of the list consists of a matrix whose rows are values
     occurring at the times given by the row dimension names of the
     matrix, then buildtrack() can be used to convert the list into a
     trackdata object. If the times are not given in the row dimension
     names, then these can be supplied as an additional argument to
     buildtrack()

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

     Jonathan Harrington

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

     'by'

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

        #vowlax.fdat is a track data objects of formant of the vowlax segment list
        #calculate the difference between adjacent formant values
        p = by(vowlax.fdat[1,2],INDICES=NULL, diff)
        
        p
        
        
        #now build a track data object out of these values
        m = buildtrack(p)
        
        m

