tg.cut0 {rPraat} | R Documentation |
tg.cut0
Description
Cut the specified time frame from the TextGrid and shift time so that the new tmin = 0
Usage
tg.cut0(tg, tStart = -Inf, tEnd = Inf)
Arguments
tg |
TextGrid object |
tStart |
beginning time of time frame to be cut (default |
tEnd |
final time of time frame to be cut (default |
Value
TextGrid object
See Also
tg.cut
, pt.cut
, pt.cut0
, tg.read
, tg.plot
, tg.write
, tg.insertInterval
Examples
tg <- tg.sample()
tg2 <- tg.cut(tg, tStart = 3)
tg2_0 <- tg.cut0(tg, tStart = 3)
tg3 <- tg.cut(tg, tStart = 2, tEnd = 3)
tg3_0 <- tg.cut0(tg, tStart = 2, tEnd = 3)
tg4 <- tg.cut(tg, tEnd = 1)
tg4_0 <- tg.cut0(tg, tEnd = 1)
tg5 <- tg.cut(tg, tStart = -1, tEnd = 5)
tg5_0 <- tg.cut0(tg, tStart = -1, tEnd = 5)
## Not run:
tg.plot(tg)
tg.plot(tg2)
tg.plot(tg2_0)
tg.plot(tg3)
tg.plot(tg3_0)
tg.plot(tg4)
tg.plot(tg4_0)
tg.plot(tg5)
tg.plot(tg5_0)
## End(Not run)
[Package rPraat version 1.3.2-1 Index]