as.tg {rPraat} | R Documentation |
as.tg
Description
Renames the class(tg)["name"]
attribute and sets class(tg)["type"] <- "TextGrid" (if it is not already set)
Usage
as.tg(tg, name = "")
Arguments
tg |
TextGrid object |
name |
New name |
Value
TextGrid object
Examples
class(tg.sample())
class(as.tg(tg.sample(), name = "New Name"))
[Package rPraat version 1.3.2-1 Index]