tg.setLabel: tg.setLabel

Description Usage Arguments See Also Examples

View source: R/tg.R

Description

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

Usage

1
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

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

rPraat documentation built on Feb. 28, 2021, 1:06 a.m.