tg.removeIntervalLeftBoundary: tg.removeIntervalLeftBoundary

Description Usage Arguments Value See Also Examples

View source: R/tg.R

Description

Remove left boundary of the interval of the given index in Interval tier. In fact, it concatenates two intervals into one (and their labels). It cannot be applied to the first interval because it is the start boundary of the tier. E.g., we have interval 1-2-3, we remove the left boundary of the 2nd interval, the result is two intervals 12-3. If we do not want to concatenate labels, we have to set the label to the empty string "" before this operation.

Usage

1
tg.removeIntervalLeftBoundary(tg, tierInd, index)

Arguments

tg

TextGrid object

tierInd

tier index or "name"

index

index of the interval

Value

TextGrid object

See Also

tg.removeIntervalRightBoundary, tg.removeIntervalBothBoundaries, tg.insertBoundary, tg.insertInterval

Examples

1
2
3
4
5
6
7
## Not run: 
tg <- tg.sample()
tg.plot(tg)
tg2 <- tg.removeIntervalLeftBoundary(tg, "word", 3)
tg.plot(tg2)

## End(Not run)

rPraat documentation built on Dec. 9, 2018, 1:04 a.m.