Learn R Programming

rPraat (version 1.3.2-1)

tg.insertPoint: tg.insertPoint

Description

Inserts new point to point tier of the given index.

Usage

tg.insertPoint(tg, tierInd, time, label)

Arguments

tg

TextGrid object

tierInd

tier index or "name"

time

time of the new point

label

time of the new point

Value

TextGrid object

See Also

tg.removePoint, tg.insertInterval, tg.insertBoundary

Examples

Run this code
# NOT RUN {
tg <- tg.sample()
tg2 <- tg.insertPoint(tg, "phoneme", 1.4, "NEW POINT")
tg.plot(tg2)
# }

Run the code above in your browser using DataLab