as.tg: as.tg

Description Usage Arguments Value Examples

View source: R/tg.R

Description

Renames the class(tg)["name"] attribute and sets class(tg)["type"] <- "TextGrid" (if it is not already set)

Usage

1
as.tg(tg, name = "")

Arguments

tg

TextGrid object

name

New name

Value

TextGrid object

Examples

1
2
class(tg.sample())
class(as.tg(tg.sample(), name = "New Name"))

rPraat documentation built on Dec. 9, 2018, 1:04 a.m.