it.cut {rPraat}R Documentation

it.cut

Description

Cut the specified interval from the IntensityTier and preserve time

Usage

it.cut(it, tStart = -Inf, tEnd = Inf)

Arguments

it

IntensityTier object

tStart

beginning time of interval to be cut (default -Inf = cut from the tmin of the IntensityTier)

tEnd

final time of interval to be cut (default Inf = cut to the tmax of the IntensityTier)

Value

IntensityTier object

See Also

it.cut0, it.read, it.plot, it.interpolate, it.legendre, it.legendreSynth, it.legendreDemo

Examples

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)

## End(Not run)

[Package rPraat version 1.3.2-1 Index]