Cut the specified interval from the IntensityTier and shift time so that the new tmin
= 0
it.cut0(it, tStart = -Inf, tEnd = Inf)
IntensityTier object
beginning time of interval to be cut (default -Inf
= cut from the tmin
of the IntensityTier)
final time of interval to be cut (default Inf
= cut to the tmax
of the IntensityTier)
IntensityTier object
it.cut
, it.read
, it.plot
, it.interpolate
, it.legendre
, it.legendreSynth
, it.legendreDemo
# NOT RUN {
it <- it.sample()
it2 <- it.cut(it, tStart = 0.3)
it2_0 <- it.cut0(it, tStart = 0.3)
it3 <- it.cut(it, tStart = 0.2, tEnd = 0.3)
it3_0 <- it.cut0(it, tStart = 0.2, tEnd = 0.3)
it4 <- it.cut(it, tEnd = 0.3)
it4_0 <- it.cut0(it, tEnd = 0.3)
it5 <- it.cut(it, tStart = -1, tEnd = 1)
it5_0 <- it.cut0(it, tStart = -1, tEnd = 1)
# }
# NOT RUN {
it.plot(it)
it.plot(it2)
it.plot(it2_0)
it.plot(it3)
it.plot(it3_0)
it.plot(it4)
it.plot(it4_0)
it.plot(it5)
it.plot(it5_0)
# }
Run the code above in your browser using DataLab