{
  "_id": "6a5f880e14e95619b75d691e",
  "Package": "lagdynamics",
  "Title": "Lag Sequential Analysis, Dynamics, and Lag Transition Networks",
  "Version": "0.32",
  "Authors@R": "c(person(\"Mohammed\", \"Saqr\", email = \"saqr@saqr.me\",\nrole = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Sonsoles\", \"López-Pernas\", role = \"aut\"))",
  "Description": "A modern, tidy toolkit for lag sequential analysis and lag\ntransition networks of categorical event and sequence data. It\nprovides an accessible, unified workflow for fitting,\ninspecting, visualising, and comparing lagged transition\npatterns, with tidy outputs throughout. Includes confirmatory\ntools for uncertainty, robustness, and group differences,\nincluding bootstrap intervals, analytic certainty, split-half\nreliability, case-drop stability, permutation tests, and\nBayesian group comparisons. Supports long-format event-log\nimport, import from common sequence and state-sequence objects,\nmulti-lag analysis, structural-zero constraints, transition and\ninitial probabilities, plotting of transition structures, and a\ndirected transfer-entropy measure. The lag sequential analysis\nframework follows Sackett and others (1979)\n<doi:10.3758/BF03205679>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/mohsaqr/lagdynamics",
  "BugReports": "https://github.com/mohsaqr/lagdynamics/issues",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-21 14:49:52 UTC",
    "User": "root"
  },
  "Author": "Mohammed Saqr [aut, cre, cph], Sonsoles López-Pernas [aut]",
  "Maintainer": "Mohammed Saqr <saqr@saqr.me>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-21 10:20:07 UTC",
  "RemoteUrl": "https://github.com/cran/lagdynamics",
  "RemoteRef": "HEAD",
  "RemoteSha": "c2336c6daa3a1ddeb2f7d35548320f66853b13d7",
  "_user": "cran",
  "_type": "src",
  "_file": "lagdynamics_0.32.tar.gz",
  "_fileid": "https://r2.ropensci.org/3566e0cae7074c6352b76ab5424a661c6535b8629baaf5785f9497126cf44711",
  "_filesize": 8569261,
  "_sha256": "3566e0cae7074c6352b76ab5424a661c6535b8629baaf5785f9497126cf44711",
  "_expires": "2026-10-29T14:54:03.000Z",
  "_created": "2026-07-21T14:49:52.000Z",
  "_published": "2026-07-21T14:54:06.410Z",
  "_jobs": [
    {
      "job": 88669716894,
      "time": 202,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8499455905"
    },
    {
      "job": 88669716819,
      "time": 199,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8499453776"
    },
    {
      "job": 88668568208,
      "time": 240,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8499340029"
    },
    {
      "job": 88669716759,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8499414864"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29840666026",
  "_status": "success",
  "_upstream": "https://github.com/cran/lagdynamics",
  "_commit": {
    "id": "c2336c6daa3a1ddeb2f7d35548320f66853b13d7",
    "author": "Mohammed Saqr <saqr@saqr.me>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.32\n",
    "time": 1784629207
  },
  "_maintainer": {
    "name": "Mohammed Saqr",
    "email": "saqr@saqr.me",
    "login": "loxavian",
    "description": "",
    "uuid": 52792889
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cograph",
      "version": ">= 2.3.6",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "Nestimate",
      "role": "Suggests"
    },
    {
      "package": "tna",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.32",
      "date": "2026-07-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "loxavian",
      "count": 1,
      "uuid": 52792889
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 622,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lagdynamics"
  },
  "_devurl": "https://github.com/mohsaqr/lagdynamics",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lagdynamics.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.32",
      "date": "2026-07-21"
    }
  ],
  "_exports": [
    "bayes_compare_lsa",
    "bootstrap_lsa",
    "certainty_lsa",
    "compare_lsa",
    "get_lsa_engine",
    "initial",
    "lag_profile",
    "list_lsa_engines",
    "lsa",
    "lsa_bidirectional",
    "lsa_classical",
    "lsa_data",
    "lsa_ipf",
    "lsa_lags",
    "lsa_nonparallel_dominance",
    "lsa_parallel_dominance",
    "lsa_to_tna",
    "lsa_transitions",
    "lsa_two_cell",
    "nodes",
    "permute_lsa",
    "plot_chords",
    "plot_forest",
    "plot_polar",
    "plot_transitions",
    "register_lsa_engine",
    "reliability_lsa",
    "stability_lsa",
    "tests",
    "transfer_entropy",
    "transition_probabilities",
    "transitions",
    "unregister_lsa_engine"
  ],
  "_datasets": [
    {
      "name": "ai_long",
      "title": "Human-AI Vibe Coding Interaction Events",
      "object": "ai_long",
      "class": [
        "data.frame"
      ],
      "fields": [
        "message_id",
        "project",
        "session_id",
        "timestamp",
        "session_date",
        "code",
        "cluster",
        "code_order",
        "order_in_session"
      ],
      "rows": 8551,
      "table": true,
      "tojson": true
    },
    {
      "name": "engagement",
      "title": "Student Engagement Trajectories",
      "object": "engagement",
      "class": [
        "data.frame"
      ],
      "fields": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15"
      ],
      "rows": 138,
      "table": true,
      "tojson": true
    },
    {
      "name": "group_regulation",
      "title": "Collaborative Learning Self-Regulation Sequences",
      "object": "group_regulation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "T1",
        "T2",
        "T3",
        "T4",
        "T5",
        "T6",
        "T7",
        "T8",
        "T9",
        "T10",
        "T11",
        "T12",
        "T13",
        "T14",
        "T15",
        "T16",
        "T17",
        "T18",
        "T19",
        "T20",
        "T21",
        "T22",
        "T23",
        "T24",
        "T25",
        "T26"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "group_regulation_long",
      "title": "Group Regulation Long Event Log",
      "object": "group_regulation_long",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Actor",
        "Achiever",
        "Group",
        "Course",
        "Time",
        "Action"
      ],
      "rows": 27533,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ai_long",
      "title": "Human-AI Vibe Coding Interaction Events",
      "topics": [
        "ai_long"
      ]
    },
    {
      "page": "as.data.frame.lsa_comparison",
      "title": "Tidy a Group Comparison",
      "topics": [
        "as.data.frame.lsa_comparison",
        "as.data.frame.lsa_comparison_pairwise"
      ]
    },
    {
      "page": "as.data.frame.lsa_data",
      "title": "Tidy the Canonical Sequence Object",
      "topics": [
        "as.data.frame.lsa_data"
      ]
    },
    {
      "page": "as.data.frame.lsa_reliability",
      "title": "Tidy the per-replicate split-half correlations",
      "topics": [
        "as.data.frame.lsa_reliability",
        "as.data.frame.lsa_reliability_group"
      ]
    },
    {
      "page": "bayes_compare_lsa",
      "title": "Bayesian Comparison of Group Transition Structures (Dirichlet-Multinomial)",
      "topics": [
        "bayes_compare_lsa"
      ]
    },
    {
      "page": "bootstrap_lsa",
      "title": "Bootstrap Confidence Intervals for an LSA Fit",
      "topics": [
        "bootstrap_lsa"
      ]
    },
    {
      "page": "certainty_lsa",
      "title": "Analytic Certainty of Transition Edges (Dirichlet-Multinomial)",
      "topics": [
        "certainty_lsa"
      ]
    },
    {
      "page": "compare_lsa",
      "title": "Compare Groups' Transition Structures",
      "topics": [
        "compare_lsa"
      ]
    },
    {
      "page": "engagement",
      "title": "Student Engagement Trajectories",
      "topics": [
        "engagement"
      ]
    },
    {
      "page": "get_lsa_engine",
      "title": "Retrieve a Registered LSA Engine",
      "topics": [
        "get_lsa_engine"
      ]
    },
    {
      "page": "group_regulation",
      "title": "Collaborative Learning Self-Regulation Sequences",
      "topics": [
        "group_regulation"
      ]
    },
    {
      "page": "group_regulation_long",
      "title": "Group Regulation Long Event Log",
      "topics": [
        "group_regulation_long"
      ]
    },
    {
      "page": "initial",
      "title": "Initial-State Distribution of an LSA Fit (Tidy)",
      "topics": [
        "initial",
        "initial.lsa",
        "initial.lsa_group"
      ]
    },
    {
      "page": "lag_profile",
      "title": "Lag Profile of a Single Transition",
      "topics": [
        "lag_profile"
      ]
    },
    {
      "page": "list_lsa_engines",
      "title": "List All Registered LSA Engines",
      "topics": [
        "list_lsa_engines"
      ]
    },
    {
      "page": "lsa",
      "title": "Lag Sequential Analysis",
      "topics": [
        "lsa",
        "lsa_bidirectional",
        "lsa_classical",
        "lsa_nonparallel_dominance",
        "lsa_parallel_dominance",
        "lsa_two_cell"
      ]
    },
    {
      "page": "lsa_data",
      "title": "Canonicalize Sequence Input for Lag Sequential Analysis",
      "topics": [
        "lsa_data"
      ]
    },
    {
      "page": "lsa_ipf",
      "title": "Iterative Proportional Fitting for Two-Way Tables with Structural Zeros",
      "topics": [
        "lsa_ipf"
      ]
    },
    {
      "page": "lsa_lags",
      "title": "Lag Sequential Analysis Across Several Lags",
      "topics": [
        "lsa_lags"
      ]
    },
    {
      "page": "lsa_to_tna",
      "title": "Convert an lsa Fit to a tna Network",
      "topics": [
        "lsa_to_tna",
        "lsa_to_tna.lsa",
        "lsa_to_tna.lsa_group"
      ]
    },
    {
      "page": "lsa_transitions",
      "title": "Tidy Transition Counts at a Given Lag",
      "topics": [
        "lsa_transitions"
      ]
    },
    {
      "page": "nodes",
      "title": "Nodes of an LSA Fit (Tidy)",
      "topics": [
        "nodes",
        "nodes.lsa",
        "nodes.lsa_group"
      ]
    },
    {
      "page": "permute_lsa",
      "title": "Permutation Test for an LSA Fit",
      "topics": [
        "permute_lsa"
      ]
    },
    {
      "page": "plot_chords",
      "title": "Circular (Chord) Diagram of an LSA Fit",
      "topics": [
        "plot_chords"
      ]
    },
    {
      "page": "plot_forest",
      "title": "Circular Bootstrap Forest of an LSA Fit",
      "topics": [
        "plot.lsa_bootstrap",
        "plot_forest"
      ]
    },
    {
      "page": "plot_polar",
      "title": "Polar Sunburst of an LSA Fit",
      "topics": [
        "plot_polar"
      ]
    },
    {
      "page": "plot_transitions",
      "title": "Plot the Transition Network",
      "topics": [
        "plot_transitions"
      ]
    },
    {
      "page": "plot.lsa",
      "title": "Plot an LSA Fit",
      "topics": [
        "plot.lsa",
        "plot.lsa_group"
      ]
    },
    {
      "page": "plot.lsa_certainty",
      "title": "Plot an Analytic-Certainty Result",
      "topics": [
        "plot.lsa_certainty"
      ]
    },
    {
      "page": "plot.lsa_comparison",
      "title": "Plot a Group Comparison",
      "topics": [
        "plot.lsa_comparison",
        "plot.lsa_comparison_pairwise"
      ]
    },
    {
      "page": "register_lsa_engine",
      "title": "Register a Lag Sequential Analysis Engine",
      "topics": [
        "register_lsa_engine"
      ]
    },
    {
      "page": "reliability_lsa",
      "title": "Split-Half Reliability for an LSA Fit",
      "topics": [
        "reliability_lsa",
        "reliability_lsa.lsa",
        "reliability_lsa.lsa_group"
      ]
    },
    {
      "page": "stability_lsa",
      "title": "Case-Drop Stability for an LSA Fit",
      "topics": [
        "stability_lsa"
      ]
    },
    {
      "page": "tests",
      "title": "Tablewise Independence Tests of an LSA Fit (Tidy)",
      "topics": [
        "tests",
        "tests.lsa",
        "tests.lsa_group"
      ]
    },
    {
      "page": "transfer_entropy",
      "title": "Directed transfer entropy for categorical sequences (experimental)",
      "topics": [
        "transfer_entropy"
      ]
    },
    {
      "page": "transition_probabilities",
      "title": "Transition-Probability Matrix of an LSA Fit",
      "topics": [
        "transition_probabilities",
        "transition_probabilities.lsa",
        "transition_probabilities.lsa_group"
      ]
    },
    {
      "page": "transitions",
      "title": "Transitions of an LSA Fit or an Inference Result (Tidy)",
      "topics": [
        "transitions",
        "transitions.lsa",
        "transitions.lsa_bootstrap",
        "transitions.lsa_certainty",
        "transitions.lsa_comparison",
        "transitions.lsa_comparison_pairwise",
        "transitions.lsa_group",
        "transitions.lsa_lags",
        "transitions.lsa_permutation",
        "transitions.lsa_stability"
      ]
    },
    {
      "page": "unregister_lsa_engine",
      "title": "Remove a Registered LSA Engine",
      "topics": [
        "unregister_lsa_engine"
      ]
    }
  ],
  "_readme": "https://github.com/cran/lagdynamics/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cograph",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "workflow.Rmd",
      "filename": "workflow.html",
      "title": "A complete workflow: from sequences to a group comparison",
      "author": "Mohammed Saqr, Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Define the sequence data",
        "Fit the model",
        "Read the fitted transitions",
        "Visualise the fitted model",
        "Add uncertainty evidence",
        "Start from a raw event log",
        "Fit groups",
        "Compare groups",
        "In short"
      ],
      "created": "2026-07-21 10:20:07",
      "modified": "2026-07-21 10:20:07",
      "commits": 1
    },
    {
      "source": "confirmatory.Rmd",
      "filename": "confirmatory.html",
      "title": "Confirmatory testing: matching claims to evidence",
      "author": "Mohammed Saqr, Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A specific transition: edge-level uncertainty",
        "A significant transition: robustness to information loss",
        "The whole network: structural reliability",
        "More than chance: an assumption-free null",
        "Two groups: inference under exchangeability",
        "In short"
      ],
      "created": "2026-07-21 10:20:07",
      "modified": "2026-07-21 10:20:07",
      "commits": 1
    },
    {
      "source": "lagdynamics.Rmd",
      "filename": "lagdynamics.html",
      "title": "Get started with lagdynamics",
      "author": "Mohammed Saqr, Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Fit a model",
        "Read the result",
        "Plot the model",
        "Check uncertainty",
        "Where next"
      ],
      "created": "2026-07-21 10:20:07",
      "modified": "2026-07-21 10:20:07",
      "commits": 1
    },
    {
      "source": "interop.Rmd",
      "filename": "interop.html",
      "title": "Interoperability: wide data, long logs, tna, and Nestimate",
      "author": "Mohammed Saqr, Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Same grammar as TNA",
        "Wide sequence data",
        "Long event logs",
        "tna objects",
        "Nestimate objects",
        "Back to tna"
      ],
      "created": "2026-07-21 10:20:07",
      "modified": "2026-07-21 10:20:07",
      "commits": 1
    },
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "Introduction",
      "author": "Mohammed Saqr, Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary",
        "The method",
        "What the package provides",
        "Fitting and reading a model",
        "Visualisation",
        "Group comparison",
        "Confirmatory battery",
        "Interoperability",
        "Bundled data"
      ],
      "created": "2026-07-21 10:20:07",
      "modified": "2026-07-21 10:20:07",
      "commits": 1
    },
    {
      "source": "lag-transition-networks.Rmd",
      "filename": "lag-transition-networks.html",
      "title": "Lag transition networks",
      "author": "Mohammed Saqr, Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The data and the fitted model",
        "Reading the model",
        "The network",
        "Inference",
        "Summary"
      ],
      "created": "2026-07-21 10:20:07",
      "modified": "2026-07-21 10:20:07",
      "commits": 1
    },
    {
      "source": "plotting.Rmd",
      "filename": "plotting.html",
      "title": "Plotting lag-sequential models",
      "author": "Mohammed Saqr, Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Residual heatmap",
        "Residual network",
        "Transition network (a TNA model)",
        "Chord and sunburst",
        "Uncertainty forests",
        "Group comparison",
        "Grouped fits",
        "The worker functions",
        "In short"
      ],
      "created": "2026-07-21 10:20:07",
      "modified": "2026-07-21 10:20:07",
      "commits": 1
    }
  ],
  "_score": 3.5440680443502757,
  "_indexed": true,
  "_nocasepkg": "lagdynamics",
  "_universes": [
    "cran",
    "loxavian",
    "mohsaqr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.32",
      "date": "2026-07-21T14:52:31.000Z",
      "distro": "resolute",
      "commit": "c2336c6daa3a1ddeb2f7d35548320f66853b13d7",
      "fileid": "https://r2.ropensci.org/d47a9a5188410aed92914604accb316f557f5bb0334c7ed45c83038d00ade69d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29840666026"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.32",
      "date": "2026-07-21T14:52:33.000Z",
      "distro": "resolute",
      "commit": "c2336c6daa3a1ddeb2f7d35548320f66853b13d7",
      "fileid": "https://r2.ropensci.org/d4d28bd38cf67935e33cb6beec3e5b4edf0ceb9d65b48dd62ba177554e697a12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29840666026"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.32",
      "date": "2026-07-21T14:52:25.000Z",
      "commit": "c2336c6daa3a1ddeb2f7d35548320f66853b13d7",
      "fileid": "https://r2.ropensci.org/fa1c3de5db07aa6b0d6d66c3048b19c83181ae479e439b7e097b88774ece2d89",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29840666026"
    }
  ]
}