tg.getPointIndexNearestTime: tg.getPointIndexNearestTime

Description Usage Arguments Value See Also Examples

View source: R/tg.R

Description

Returns index of point which is nearest the given time (from both sides). Tier index must belong to point tier.

Usage

1

Arguments

tg

TextGrid object

tierInd

tier index or "name"

time

time which is going to be found in points

Value

integer

See Also

tg.getPointIndexLowerThanTime, tg.getPointIndexHigherThanTime, tg.getLabel, tg.findLabels

Examples

1
2
tg <- tg.sample()
tg.getPointIndexNearestTime(tg, "phoneme", 0.5)

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