tg.setLabel {rPraat}R Documentation

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

tg <- tg.sample()
tg2 <- tg.setLabel(tg, "word", 3, "New Label")
tg.getLabel(tg2, "word", 3)

[Package rPraat version 1.3.2-1 Index]