Skip to content

lagdynamics

0.32Package record

Lag Sequential Analysis, Dynamics, and Lag Transition Networks

0packages depend
771downloads / year
89.4%test coverage
13/13flavors OK

Overview

About

A modern, tidy toolkit for lag sequential analysis and lag transition networks of categorical event and sequence data. It provides an accessible, unified workflow for fitting, inspecting, visualising, and comparing lagged transition patterns, with tidy outputs throughout. Includes confirmatory tools for uncertainty, robustness, and group differences, including bootstrap intervals, analytic certainty, split-half reliability, case-drop stability, permutation tests, and Bayesian group comparisons. Supports long-format event-log import, import from common sequence and state-sequence objects, multi-lag analysis, structural-zero constraints, transition and initial probabilities, plotting of transition structures, and a directed transfer-entropy measure. The lag sequential analysis framework follows Sackett and others (1979) doi:10.3758/BF03205679.

Changes in 0.32

New features

  • transitions() now reads inference results, not only fitted models. It accepts the output of bootstrap_lsa(), certainty_lsa(), stability_lsa(), permute_lsa(), compare_lsa(), bayes_compare_lsa() and lsa_lags(), and returns the same tidy one-row-per-transition data frame. significant = TRUE keeps the transitions the method itself flags, and sort = "strength" orders them by that method's signed effect. Previously the per-transition table of an inference result was reachable only through as.data.frame(), because the print methods show a header summary alone.
  • The transitions() generic is now transitions(fit, ...), so each class declares only the arguments backed by columns it actually has. Existing calls on a fit are unaffected.
Show all changes in 0.32Hide the rest of the changes in 0.32

Documentation

  • Vignettes restore the user's options() after changing digits, as CRAN requires.
  • Vignettes read every result with transitions() rather than coercing it with as.data.frame(), and select rows with the significant argument rather than subsetting.
  • Removed the citations, reference lists, DOIs, documentation URLs and linked author metadata that 0.31 added to the shipped vignettes.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 8.2 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-07-22
Advisories

none known

Documentation

In release 0.32
READMEYes · 480 wordsVignettesYes · 7 · dynamicNEWSYes · 100% structured · mentions 0.32Citation fileNo
Help pages
39 (1 internal)includes a package overview page
Examples that run
71%27 run in a plain check (1 of them under a condition) · 11 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
23%

Downloads

771
CRAN downloads in the past year
Rank #21,053 · ~2/day · ~64/mo
Daily download trend is not available in this view yet.
20530 days
63790 days
7711 year
Compare downloads with other packages →
Also on13 r2u6 autocran

Repository

1Stars
1Forks
0Open issues
0Open PRs
0Releases
34Commits
1Commit identities
34 commits · Last activity 2026-10-16
Responsiveness
not measured

Forks over time

2026-07-22 · 02026-08-20 · 1
PracticesBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/mohsaqr/lagdynamics on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-16 · The repository has a site deploy workflow

Reproducibility and dev environment (1)
data-raw/
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-05-13
    Named in .Rbuildignore: .claude
    Named in .gitignore: CLAUDE.md
    Commits: at least 1 crediting it in the message
Models named in its commits
  • Claude Opus 5.51 commit · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing lagdynamics adds 18 packages (7 with compiled code, 16 MB of source tarballs). Heaviest: ggplot2 6.0 MB, cograph 2.0 MB, isoband 1.5 MB.

Depends (1)
R >= 4.1.0
Imports (6)
cographggplot2grDevicesgridstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.32 (2026), Copyright holder
Releases (1)
  • 0.32Latest
    2026-07-21 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-21
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
138 KB / 4 files
Download size
4.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lagdynamics")
Saqr, M., & López-Pernas, S. (2026). lagdynamics: Lag Sequential Analysis, Dynamics, and Lag Transition Networks (Version 0.32) [Computer software]. https://doi.org/10.32614/CRAN.package.lagdynamics

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lagdynamics version 0.32 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy