Description Usage Arguments Value See Also Examples
Inserts new point tier to the specified index (existing tiers are shifted).
1 | tg.insertNewPointTier(tg, newInd = Inf, newTierName)
|
tg |
TextGrid object |
newInd |
new tier index ( |
newTierName |
new tier name |
TextGrid object
tg.insertPoint
, tg.insertNewIntervalTier
, tg.duplicateTier
, tg.removeTier
1 2 3 4 5 6 7 8 9 | ## Not run:
tg <- tg.sample()
tg2 <- tg.insertNewPointTier(tg, 1, "POINTS")
tg2 <- tg.insertPoint(tg2, "POINTS", 3, "MY POINT")
tg2 <- tg.insertNewPointTier(tg2, Inf, "POINTS2") # the last tier
tg2 <- tg.insertPoint(tg2, "POINTS2", 2, "point in 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.