Description Usage Arguments Value See Also Examples
Inserts new interval tier to the specified index (existing tiers are shifted). The new tier contains one empty interval from beginning to end. Then, if we add new boundaries, this interval is divided to smaller pieces.
1 | tg.insertNewIntervalTier(tg, newInd = Inf, newTierName, tMin = NA, tMax = NA)
|
tg |
TextGrid object |
newInd |
new tier index ( |
newTierName |
new tier name |
tMin |
[optional] start time of the new tier |
tMax |
[optional] end time of the new tier |
TextGrid object
tg.insertInterval
, tg.insertNewPointTier
, tg.duplicateTier
, tg.duplicateTierMergeSegments
, tg.removeTier
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
tg <- tg.sample()
tg2 <- tg.insertNewIntervalTier(tg, 1, "INTERVALS")
tg2 <- tg.insertBoundary(tg2, "INTERVALS", 0.8)
tg2 <- tg.insertBoundary(tg2, "INTERVALS", 0.1, "Interval A")
tg2 <- tg.insertInterval(tg2, "INTERVALS", 1.2, 2.5, "Interval B")
tg2 <- tg.insertNewIntervalTier(tg2, Inf, "LastTier")
tg2 <- tg.insertInterval(tg2, "LastTier", 1, 3, "This is the last tier")
tg.plot(tg2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.