View source: R/emuR-emuRtrackdata.R
create_emuRtrackdata | R Documentation |
Joins emuRsegs
and trackdata
objects
to create an emuRtrackdata
object that is a sub-class of
a data.frame
object. This object
can be viewed as a flat version of a trackdata
object that also
contains all the information of a emuRsegs
object. It is meant to
ease integration with other packages as it is based on the well known
data.frame
object.
create_emuRtrackdata(sl, td)
sl |
seglist of class |
td |
|
emuRtrackdata object
## Not run:
##################################
# prerequisite: loaded ae emuDB
# (see ?load_emuDB for more information)
# query emuDB (to get object of class emuRsegs)
sl = query(emuDBhandle = ae,
query = "Phonetic == i:")
# get formats for SEGMENTs in sl (to get object of class trackdata)
td = get_trackdata(emuDBhandle = ae,
seglist = sl,
onTheFlyFunctionName = "forest")
# create emuRtrackdata object
create_emuRtrackdata(sl = sl, td = td)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.