Create boundaries in a texgrid tier
create_subannotation( textgrid, tier = 1, new_tier_name = "", n_of_annotations = 4, each = 1, omit_blank = TRUE, overwrite = TRUE )
character with a filename or path to the TextGrid
value that could be either ordinal number of the tier either name of the tier
a name of a new created tier
number of new annotations per annotation to create
non-negative integer. Each new blank annotation is repeated every first, second or ... times
logical. If TRUE (by dafault) it doesn't create subannotation for empy annotations.
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 { create_subannotation(system.file("extdata", "test.TextGrid", package = "phonfieldwork" ), tier = 1, overwrite = FALSE ) # }
Run the code above in your browser using DataLab