pt.getPointIndexNearestTime {rPraat} | R Documentation |
pt.getPointIndexNearestTime
Description
Returns index of point which is nearest the given time
(from both sides).
Usage
pt.getPointIndexNearestTime(pt, time)
Arguments
pt |
PitchTier object |
time |
time which is going to be found in points |
Value
integer
See Also
pt.getPointIndexLowerThanTime
, pt.getPointIndexHigherThanTime
Examples
pt <- pt.sample()
pt.getPointIndexNearestTime(pt, 0.5)
[Package rPraat version 1.3.2-1 Index]