Rewrite TextGrid names.
set_textgrid_names(textgrid, tiers, names, write = TRUE)
path to the TextGrid
integer vector with the number of tiers that should be named
vector of strings with new names for TextGrid tiers
logical. If TRUE (by dafault) it overwrites an existing tier
a string that contain TextGrid. If argument write is TRUE, then no output.
TRUE
# NOT RUN { set_textgrid_names(system.file("extdata", "test.TextGrid", package = "phonfieldwork" ), tiers = 3, names = "new_name", write = FALSE ) # }
Run the code above in your browser using DataLab