tg.getTotalDuration {rPraat}R Documentation

tg.getTotalDuration

Description

Returns total duration. If tier index is specified, it returns duration of the tier, if it is not specified, it returns total duration of the TextGrid.

Usage

tg.getTotalDuration(tg, tierInd = 0)

Arguments

tg

TextGrid object

tierInd

[optional] tier index or "name"

Value

numeric

See Also

tg.getStartTime, tg.getEndTime

Examples

tg <- tg.sample()
tg.getTotalDuration(tg)
tg.getTotalDuration(tg, "phone")

[Package rPraat version 1.3.2-1 Index]