tg.removeIntervalLeftBoundary {rPraat} | R Documentation |
tg.removeIntervalLeftBoundary
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
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
## Not run:
tg <- tg.sample()
tg.plot(tg)
tg2 <- tg.removeIntervalLeftBoundary(tg, "word", 3)
tg.plot(tg2)
## End(Not run)
[Package rPraat version 1.3.2-1 Index]