Learn R Programming

rPraat (version 1.3.2-1)

pt.getPointIndexLowerThanTime: pt.getPointIndexLowerThanTime

Description

Returns index of point which is nearest the given time from left, i.e. pointTime <= time.

Usage

pt.getPointIndexLowerThanTime(pt, time)

Arguments

pt

PitchTier object

time

time which is going to be found in points

Value

integer

See Also

pt.getPointIndexNearestTime, pt.getPointIndexHigherThanTime

Examples

Run this code
# NOT RUN {
pt <- pt.sample()
pt.getPointIndexLowerThanTime(pt, 0.5)
# }

Run the code above in your browser using DataLab