View source: R/annotate_textgrid.R
annotate_textgrid | R Documentation |
Annotates textgrids. It is possible to define step in the argument "each", so each second element of the tier will be annotated.
annotate_textgrid(
annotation,
textgrid,
tier = 1,
each = 1,
backup = TRUE,
write = TRUE
)
annotation |
vector of stimuli |
textgrid |
character with a filename or path to the TextGrid |
tier |
value that could be either ordinal number of the tier either name of the tier |
each |
non-negative integer. Each element of x is repeated each times |
backup |
logical. If TRUE (by default) it creates a backup tier. |
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>
annotate_textgrid(
annotation = c("", "t", "e", "s", "t"),
textgrid = system.file("extdata",
"test.TextGrid",
package = "phonfieldwork"
),
tier = 2, write = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.