dot-merge_annotations: Combine annotations helper function

.merge_annotationsR Documentation

Combine annotations helper function

Description

Checks a list of annotations for those that are overlapping in the time or frequency domain, and returns a list where overlapping annotations are merged.

Usage

.merge_annotations(annotations, domain = "time")

Arguments

annotations

A list of Annotation objects.

domain

Domain of the annotations, either "time" or "frequency".

Details

The exported function merge_annotations() handles sanity checks and calls this function.

Value

A list of Annotation objects.


edwbaker/SonicScrewdriveR documentation built on Feb. 14, 2025, 2:45 p.m.