| tg.write {rPraat} | R Documentation |
tg.write
Description
Saves TextGrid to the file. TextGrid may contain both interval and point
tiers (tg[[1]], tg[[2]], tg[[3]], etc.). If tier type is not specified in $type,
is is assumed to be "interval". If specified, $type have to be "interval" or "point".
If there is no class(tg)["tmin"] and class(tg)["tmax"], they are calculated as min and max of
all tiers. The file is saved in UTF-8 encoding.
Usage
tg.write(tg, fileNameTextGrid, format = "short")
Arguments
tg |
TextGrid object |
fileNameTextGrid |
Output file name |
format |
Output file format ( |
See Also
Examples
## Not run:
tg <- tg.sample()
tg.write(tg, "demo_output.TextGrid")
## End(Not run)
[Package rPraat version 1.3.2-1 Index]