analyze_co_occurrences {textAnnotatoR}R Documentation

Analyze code co-occurrence patterns

Description

Analyzes how different codes co-occur within the annotated text by examining overlapping annotations and calculating various metrics of co-occurrence strength.

Usage

analyze_co_occurrences(annotations)

Arguments

annotations

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

Value

A list containing co-occurrence analysis results:


[Package textAnnotatoR version 0.1.4 Index]