powered by
Renames the class(tg)["name"] attribute and sets class(tg)["type"] <- "TextGrid" (if it is not already set)
class(tg)["name"]
as.tg(tg, name = "")
TextGrid object
New name
# NOT RUN { class(tg.sample()) class(as.tg(tg.sample(), name = "New Name")) # }
Run the code above in your browser using DataLab