generate_code_co_occurrence_analysis | R Documentation |
Performs a comprehensive analysis of code co-occurrences in the text, including calculation of various similarity metrics and generation of network and heatmap visualizations.
generate_code_co_occurrence_analysis(annotations)
annotations |
Data frame containing text annotations with columns:
|
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.