tg.checkTierInd: tg.checkTierInd

Description Usage Arguments Value See Also Examples

View source: R/tg.R

Description

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

Usage

1
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

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

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