Description Usage Arguments Value Examples
View source: R/compute_oscores.R
Compares a computational unit table against a manual unit table using the overlap scores defined in overlap_score. Function attempts to match each computational note to a note in the manual table with the most overlap.
1 | compute_oscores(manual_table, comp_table)
|
manual_table: |
A unit table tibble containing the original sound file, start/end times of the note,the note position and note_label. |
comp_table: |
A unit table tibble containing the original sound file, start/end times of the note,the note position and note_label. |
A numeric vector containing the totals of the 3 overlaps scores.
1 2 3 4 5 | table1 = tibble::tibble(start = c(0.30, 0.55, 1.5, 2.5), end = c(0.51, 0.7, 2.2, 3),
sound.files = c(rep("JS001.wav",2),rep("JS002.wav",2)) , pos =c(1,2,3,4), note_label = "Curve")
table2 = tibble::tibble(start = c(0.25, 0.65, 1.6, 2.4), end = c(0.45, 0.75, 2.1, 2.9),
sound.files = c(rep("JS001.wav",2),rep("JS002.wav",2)), pos =c(1,2,3,4), note_label = "Unclassifed")
compute_oscores(table1,table2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.