Analyzes how different codes co-occur within the annotated text by examining overlapping annotations and calculating various metrics of co-occurrence strength.
analyze_co_occurrences(annotations)A list containing co-occurrence analysis results:
combinations: list containing frequency table of code co-occurrences
characteristics: list with average overlap length and total overlap count
A data frame containing text annotations with columns:
start: numeric, starting position of annotation
end: numeric, ending position of annotation
code: character, code applied to the annotation