Learn R Programming

rPraat (version 1.3.2-1)

tg.setLabel: tg.setLabel

Description

Sets (changes) label of interval or point of the given index in the interval or point tier.

Usage

tg.setLabel(tg, tierInd, index, newLabel)

Arguments

tg

TextGrid object

tierInd

tier index or "name"

index

index of interval or point

newLabel

new "label"

See Also

tg.getLabel

Examples

Run this code
# NOT RUN {
tg <- tg.sample()
tg2 <- tg.setLabel(tg, "word", 3, "New Label")
tg.getLabel(tg2, "word", 3)
# }

Run the code above in your browser using DataLab