set_textgrid_names {phonfieldwork} | R Documentation |
Rewrite TextGrid names.
set_textgrid_names(textgrid, tiers, names, write = TRUE)
textgrid |
path to the TextGrid |
tiers |
integer vector with the number of tiers that should be named |
names |
vector of strings with new names for TextGrid tiers |
write |
logical. If TRUE (by dafault) it overwrites an existing tier |
a string that contain TextGrid. If argument write is TRUE
,
then no output.
George Moroz <agricolamz@gmail.com>
set_textgrid_names(system.file("extdata", "test.TextGrid",
package = "phonfieldwork"
),
tiers = 3, names = "new_name", write = FALSE
)