partition_unit_table: partition_unit_table function

View source: R/partition_unit_table.R

partition_unit_tableR Documentation

partition_unit_table function

Description

Separates a unit_table into a list of smaller unit_tables, one for each recording.

Usage

partition_unit_table(unit_table)

Arguments

unit_table:

A unit table tibble containing the original sound file, start/end times of the note,the note position and note_label.

Value

A list of unit tables, one for each recording.

Examples

unit_table = tibble::tibble(start = c(0.37, 0.6, 0.2, 1.8), end = c(0.45, 0.7, 0.4, 2), pos = c(1,2,1,2),sound.files = c("JS001.wav","JS001.wav","JS002.wav","JS002.wav") , note_label = "Curve")
partition_unit_table(unit_table)

Anthony-Kwong/birdsong.tools documentation built on April 14, 2023, 9:50 a.m.