generate_code_frequency_plot {textAnnotatoR}R Documentation

Generate code frequency visualization

Description

Creates a barplot visualization showing the frequency of each code in the annotations. The plot displays codes on the x-axis and their frequency counts on the y-axis.

Usage

generate_code_frequency_plot(annotations)

Arguments

annotations

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 recordedplot object containing the code frequency visualization


[Package textAnnotatoR version 0.1.4 Index]