tg.checkTierInd {rPraat}R Documentation

tg.checkTierInd

Description

Returns tier index. Input can be either index (number) or tier name (character string). It performs checks whether the tier exists.

Usage

tg.checkTierInd(tg, tierInd)

Arguments

tg

TextGrid object

tierInd

Tier index or "name"

Value

Tier index

See Also

tg.getTierName, tg.isIntervalTier, tg.isPointTier, tg.plot, tg.getNumberOfTiers

Examples

tg <- tg.sample()
tg.checkTierInd(tg, 4)
tg.checkTierInd(tg, "word")

[Package rPraat version 1.3.2-1 Index]