## Not run:
#
# ##################################
# # prerequisite: loaded ae emuDB
# # (see ?load_emuDB for more information)
#
# sampaNasals = c("m", "F", "n", "J", "N")
#
# # add these values to the ae emuDB
# # as a globally available labelGroup
# add_labelGroup(emuDBhandle = ae,
# name = "sampaNasals",
# values = sampaNasals)
#
# # query the labelGroup in the "Phonetic" level
# query(emuDBhandle = ae,
# query = "Phonetic == sampaNasals")
#
# # query the labelGroup in the "Phoneme" level
# query(emuDBhandle = ae,
# query = "Phoneme == sampaNasals")
#
# # list global label groups of ae emuDB
# list_labelGroups(emuDBhandle = ae)
#
# # remove the newly added labelGroup
# remove_labelGroup(emuDBhandle = ae,
# name = "sampaNasals")
# ## End(Not run)
Run the code above in your browser using DataLab