Learn R Programming

rPraat (version 1.3.2-1)

tg.countLabels: tg.countLabels

Description

Returns number of labels with the specified label.

Usage

tg.countLabels(tg, tierInd, label)

Arguments

tg

TextGrid object

tierInd

tier index or "name"

label

character string: label to be counted

Value

integer number

See Also

tg.findLabels, tg.getLabel

Examples

Run this code
# NOT RUN {
tg <- tg.sample()
tg.countLabels(tg, "phone", "a")
# }

Run the code above in your browser using DataLab