Description Usage Arguments Details Value Examples
find pairs of rttm files suitable for evaluations
1 2 |
test |
character, file paths to reference files, i.e. rttm fiels with prefix |
reference |
character, file paths to test files, i.e. rttm files without prefix |
location |
character, path that contains .rttm files |
prefix |
character, optionally, select only pairs for these prefixes. Default is |
include_subfolders |
logical, include files in subfolder (default is |
The function works in one of two ways. First, you can specify a location=
in which all rttm files will be checked.
Second, you supply vectors for test=
and reference=
files.
The way via location=
takes precedence, i.e. if you supply all three arguments, only the location=
option is used.
a data.frame with pairs of files
1 2 3 4 5 6 7 8 9 10 | # using location
location <- dirname(list.files(system.file("", package = "avutils"), full.names = TRUE)[1])
rttm_pairs(location = location)
rttm_pairs(location = location, prefix = c("tocomboSad_"))
# using test and reference
reference <- system.file("BER_0485_12_07_09123.rttm", package = "avutils")
test <- list.files(system.file("", package = "avutils"), pattern = ".rttm$", full.names = TRUE)
rttm_pairs(test = test, reference = reference)
rttm_pairs(test = test, reference = reference, prefix = "tocomboSad_")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.