buildtrack | R Documentation |
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.
buildtrack(mylist, ftime = NULL, trackname = "")
mylist |
a list that ist output from by() |
ftime |
ftime |
trackname |
name of track data object |
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()
Jonathan Harrington
by
#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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.