it.cut: it.cut

Description Usage Arguments Value See Also Examples

View source: R/it.R

Description

Cut the specified interval from the IntensityTier and preserve time

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
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)

rPraat documentation built on Dec. 9, 2018, 1:04 a.m.