as.tg {rPraat} | R Documentation |
Renames the class(tg)["name"]
attribute and sets class(tg)["type"] <- "TextGrid" (if it is not already set)
as.tg(tg, name = "")
tg |
TextGrid object |
name |
New name |
TextGrid object
class(tg.sample())
class(as.tg(tg.sample(), name = "New Name"))