Package: lagseq 0.1.0
lagseq: Modern Lag Sequential Analysis with Tidy Transition Networks
A modern, tidy, pipe-friendly toolkit for lag sequential analysis of categorical event sequences. A single 'lsa()' constructor fits classical, two-cell, bidirectional, and dominance engines through a pluggable registry, with multi-lag analysis and structural-zero constraints, and every result is read through a verb that returns a tidy one-row-per-observation data frame. A confirmatory testing battery quantifies the evidence behind each claim: sequence-level bootstrap and analytic Dirichlet-Multinomial certainty for edge uncertainty, split-half reliability for the whole network, case-drop stability, permutation tests, and permutation- and Bayesian-based group comparison. Fits visualize through a single 'plot()' verb (residual heatmap, transition network, chord, sunburst, and forest views) and interoperate with the 'tna', 'Nestimate', and 'TraMineR' ecosystems, both ingesting their sequence objects and converting to network objects. All numerical methods are implemented from primary literature and cross-validated against published worked examples and base-R primitives.
Authors:
lagseq_0.1.0.tar.gz
lagseq_0.1.0.zip(r-4.7)lagseq_0.1.0.zip(r-4.6)lagseq_0.1.0.zip(r-4.5)
lagseq_0.1.0.tgz(r-4.6-any)lagseq_0.1.0.tgz(r-4.5-any)
lagseq_0.1.0.tar.gz(r-4.7-any)lagseq_0.1.0.tar.gz(r-4.6-any)
lagseq_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
lagseq/json (API)
| # Install 'lagseq' in R: |
| install.packages('lagseq', repos = c('https://mohsaqr.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mohsaqr/lagseq/issues
- engagement - Student Engagement Trajectories
- group_regulation - Collaborative Learning Self-Regulation Sequences
- imdb_genres - IMDB Primary-Genre Sequence
- kg_logs - Knowledge-Graph Learning Logs
- kg_lsa_oracle - Published LSA Results for the Knowledge-Graph Dataset
- oconnor_couple - Canonical LSA Worked Example
- qi2026_grandmother - Grandmother Behaviour Transitions, Qi An et al.
Last updated from:cf0ee1b6ee. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 170 | ||
| source / vignettes | OK | 217 | ||
| linux-release-x86_64 | OK | 159 | ||
| macos-release-arm64 | OK | 106 | ||
| macos-oldrel-arm64 | OK | 103 | ||
| windows-devel | OK | 135 | ||
| windows-release | OK | 124 | ||
| windows-oldrel | OK | 149 | ||
| wasm-release | OK | 101 |
Exports:bayes_compare_lsabootstrap_lsacertainty_lsacompare_lsaget_lsa_engineinitiallag_profilelist_lsa_engineslsalsa_bidirectionallsa_classicallsa_datalsa_ipflsa_lagslsa_nonparallel_dominancelsa_parallel_dominancelsa_to_tnalsa_transitionslsa_two_cellnodespermute_lsaplot_chordsplot_forestplot_polarplot_transitionsregister_lsa_enginereliability_lsastability_lsateststransitionsunregister_lsa_engine
Dependencies:
A complete workflow: from sequences to a group comparison
Rendered fromworkflow.Rmdusingknitr::rmarkdownon Jun 20 2026.Last update: 2026-06-20
Started: 2026-06-19
Confirmatory testing: matching claims to evidence
Rendered fromconfirmatory.Rmdusingknitr::rmarkdownon Jun 20 2026.Last update: 2026-06-20
Started: 2026-06-20
Get started with lagseq
Rendered fromlagseq.Rmdusingknitr::rmarkdownon Jun 20 2026.Last update: 2026-06-20
Started: 2026-06-04
Interoperability with tna and Nestimate
Rendered frominterop.Rmdusingknitr::rmarkdownon Jun 20 2026.Last update: 2026-06-20
Started: 2026-06-20
Plotting lag-sequential models
Rendered fromplotting.Rmdusingknitr::rmarkdownon Jun 20 2026.Last update: 2026-06-20
Started: 2026-06-04
