transitiontrees: Transition Trajectories and Dynamics of Variable-Length Pathways or Sequences

Analyzes transition trajectories in event, sequence, and ordered data, focusing on how states follow one another, how far processes unfold, and where pathways branch or converge. Trajectories are modeled using variable-order prediction suffix trees (Ron, Singer, & Tishby, 1996) <doi:10.1023/A:1026490906255>, implemented in both frequency-based and prediction-based forms. The framework includes multiple pruning, validation, and smoothing techniques to ensure model robustness. Visualization options include transition trees, radial sunburst diagrams, transition heatmaps, and forward trajectory trees.

Version: 0.1.2
Depends: R (≥ 4.1)
Imports: ggplot2, grDevices, stats, utils
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, visNetwork, tna, Nestimate
Published: 2026-06-18
DOI: 10.32614/CRAN.package.transitiontrees (may not be active yet)
Author: Mohammed Saqr [aut, cre, cph], Sonsoles López-Pernas [aut]
Maintainer: Mohammed Saqr <saqr at saqr.me>
BugReports: https://github.com/mohsaqr/transitiontrees/issues
License: GPL-3
URL: https://github.com/mohsaqr/transitiontrees
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: transitiontrees results

Documentation:

Reference manual: transitiontrees.html , transitiontrees.pdf
Vignettes: 4. Advanced analysis: smoothing, tuning, comparison, and mining (source, R code)
2. A complete analysis case: collaborative-regulation sequences (source, R code)
3. Ecosystem compatibility: TraMineR, tna, and Nestimate (source, R code)
1. Getting started: basic analysis and trajectory trees (source, R code)
5. Visualization: every plot, and how to read it (source, R code)

Downloads:

Package source: transitiontrees_0.1.2.tar.gz
Windows binaries: r-devel: transitiontrees_0.1.2.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): transitiontrees_0.1.2.tgz, r-oldrel (arm64): transitiontrees_0.1.2.tgz, r-release (x86_64): transitiontrees_0.1.2.tgz, r-oldrel (x86_64): transitiontrees_0.1.2.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=transitiontrees to link to this page.