Description Usage Arguments Value See Also Examples
Remove right 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 last interval because it is the end boundary
of the tier.
E.g., we have interval 1-2-3, we remove the right boundary of the 2nd
interval, the result is two intervals 1-23.
If we do not want to concatenate labels, we have to set the label
to the empty string ""
before this operation.
1 | tg.removeIntervalRightBoundary(tg, tierInd, index)
|
tg |
TextGrid object |
tierInd |
tier index or "name" |
index |
index of the interval |
TextGrid object
tg.removeIntervalLeftBoundary
, tg.removeIntervalBothBoundaries
, tg.insertBoundary
, tg.insertInterval
1 2 3 4 5 6 7 | ## Not run:
tg <- tg.sample()
tg.plot(tg)
tg2 <- tg.removeIntervalRightBoundary(tg, "word", 3)
tg.plot(tg2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.