Learn R Programming

textAnnotatoR (version 1.0.1)

generate_heatmap_visualization: Generate heatmap visualization for code co-occurrence

Description

Creates a heatmap showing the strength of relationships between codes based on Jaccard similarity coefficients. Darker colors indicate stronger relationships.

Usage

generate_heatmap_visualization(jaccard_matrix, codes)

Value

A recordedplot object containing the heatmap visualization

Arguments

jaccard_matrix

Matrix of Jaccard similarity coefficients between codes

codes

Character vector of code names