generate_code_co_occurrence_analysis {textAnnotatoR} | R Documentation |
Generate code co-occurrence statistics and visualization
Description
Performs a comprehensive analysis of code co-occurrences in the text, including calculation of various similarity metrics and generation of network and heatmap visualizations.
Usage
generate_code_co_occurrence_analysis(annotations)
Arguments
annotations |
Data frame containing text annotations with columns:
|
Value
List containing:
co_occurrence: Matrix of raw co-occurrence counts
jaccard_similarity: Matrix of Jaccard similarity coefficients
phi_coefficient: Matrix of Phi coefficients
network_plot: Network visualization of code relationships
heatmap_plot: Heatmap visualization of code co-occurrences
summary: List of summary statistics
[Package textAnnotatoR version 0.1.4 Index]