analyze_sequences {textAnnotatoR}R Documentation

Analyze sequences and transitions between codes

Description

Analyzes how codes are sequenced in the text by examining transitions between consecutive codes and identifying repeated patterns.

Usage

analyze_sequences(annotations)

Arguments

annotations

Data frame of text annotations with columns:

  • start: numeric, starting position of annotation

  • end: numeric, ending position of annotation

  • code: character, code applied to the annotation

Value

List containing:


[Package textAnnotatoR version 0.1.4 Index]