{
  "_id": "6a4bd90495416c4179535983",
  "Package": "htna",
  "Title": "Heterogeneous Transition Network Analysis",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Sonsoles\", \"L\\u00f3pez-Pernas\", email = \"sonsoles.lopez@uef.fi\",\nrole = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Kamila\", \"Misiejuk\", role = c(\"aut\", \"cph\")),\nperson(\"Mohammed\", \"Saqr\", email = \"saqr@saqr.me\",\nrole = c(\"aut\", \"cph\"))\n)",
  "Description": "Implements the Heterogeneous Transition Network Analysis\n(HTNA) method described by López-Pernas et al. (2026)\n<doi:10.1002/jcal.70285>. The method is an extension of\ntransition network analysis (TNA) where actions or events\nbelong to two or more distinct actor types (e.g. Human and\nAI),preserving the actor type partition on the resulting\nnetwork. Provides a thin, focused API on top of the 'Nestimate'\nestimation engine and the 'cograph' rendering engine, so\ndownstream bootstrap, permutation, reliability, centrality, and\nplotting functions treat each actor's codes as a distinct node\ngroup.",
  "License": "MIT + file LICENSE",
  "URL": "https://sonsoles.me/htna/",
  "BugReports": "https://github.com/sonsoleslp/htna/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-06 16:30:41 UTC",
    "User": "root"
  },
  "Author": "Sonsoles López-Pernas [aut, cre, cph], Kamila Misiejuk [aut,\ncph], Mohammed Saqr [aut, cph]",
  "Maintainer": "Sonsoles López-Pernas <sonsoles.lopez@uef.fi>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-06 14:40:11 UTC",
  "RemoteUrl": "https://github.com/cran/htna",
  "RemoteRef": "HEAD",
  "RemoteSha": "463bbc750c84fb1dcf2da08c2fd683ccc36e4817",
  "_user": "cran",
  "_type": "src",
  "_file": "htna_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b1f578afc5befb89c6dad6d6334765e3266f65950da0fcb5d0fae36f886dd46a",
  "_filesize": 7614362,
  "_sha256": "b1f578afc5befb89c6dad6d6334765e3266f65950da0fcb5d0fae36f886dd46a",
  "_expires": "2026-10-14T16:34:10.000Z",
  "_created": "2026-07-06T16:30:41.000Z",
  "_published": "2026-07-06T16:34:12.602Z",
  "_jobs": [
    {
      "job": 85425120006,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8115394439"
    },
    {
      "job": 85425119806,
      "time": 169,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8115396112"
    },
    {
      "job": 85424075388,
      "time": 295,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8115324999"
    },
    {
      "job": 85425120114,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8115377557"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28806706592",
  "_status": "success",
  "_upstream": "https://github.com/cran/htna",
  "_commit": {
    "id": "463bbc750c84fb1dcf2da08c2fd683ccc36e4817",
    "author": "Sonsoles López-Pernas <sonsoles.lopez@uef.fi>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1783348811
  },
  "_maintainer": {
    "name": "Sonsoles López-Pernas",
    "email": "sonsoles.lopez@uef.fi",
    "login": "sonsoleslp",
    "twitter": "@sonsoleslp",
    "description": "Researcher at UPM",
    "uuid": 10948559
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Nestimate",
      "role": "Imports"
    },
    {
      "package": "cograph",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "codyna",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "janitor",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tna",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "sonsoleslp",
      "count": 1,
      "uuid": 10948559
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 617,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/htna"
  },
  "_devurl": "https://github.com/sonsoleslp/htna",
  "_pkgdown": "https://sonsoles.me/htna/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/htna.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-06"
    }
  ],
  "_exports": [
    "association_rules_htna",
    "bootstrap",
    "bootstrap_htna",
    "build_htna",
    "casedrop_reliability_htna",
    "centralities_htna",
    "centrality_stability_htna",
    "edge_betweenness_htna",
    "extract_meta_paths",
    "frequencies_htna",
    "htna_palette",
    "markov_order_test_htna",
    "mosaic_plot_htna",
    "permutation_htna",
    "plot_centralities",
    "plot_edge_betweenness_htna",
    "plot_frequencies_htna",
    "plot_htna",
    "plot_htna_bootstrap",
    "plot_htna_diff",
    "plot_sequences",
    "reliability_htna",
    "sequence_compare_htna",
    "sequence_plot_htna",
    "state_distribution_htna",
    "state_frequencies_htna"
  ],
  "_datasets": [
    {
      "name": "ai_simplified",
      "title": "Simplified AI Interaction Sequences (per-actor frame)",
      "object": "ai_simplified",
      "class": [
        "data.frame"
      ],
      "fields": [
        "message_id",
        "project",
        "session_id",
        "timestamp",
        "session_date",
        "code",
        "cluster",
        "code_order",
        "order_in_session",
        "actor_type"
      ],
      "rows": 8551,
      "table": true,
      "tojson": true
    },
    {
      "name": "human_ai",
      "title": "Simplified Human + AI Interaction Sequences",
      "object": "human_ai",
      "class": [
        "data.frame"
      ],
      "fields": [
        "message_id",
        "project",
        "session_id",
        "timestamp",
        "session_date",
        "code",
        "cluster",
        "code_order",
        "order_in_session",
        "actor_type",
        "phase"
      ],
      "rows": 19347,
      "table": true,
      "tojson": true
    },
    {
      "name": "human_ai_codebook",
      "title": "Code → Actor-Type Codebook for 'human_ai'",
      "object": "human_ai_codebook",
      "class": [
        "data.frame"
      ],
      "fields": [
        "code",
        "actor_type"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "human_simplified",
      "title": "Simplified Human Interaction Sequences (per-actor frame)",
      "object": "human_simplified",
      "class": [
        "data.frame"
      ],
      "fields": [
        "message_id",
        "project",
        "session_id",
        "timestamp",
        "session_date",
        "code",
        "cluster",
        "code_order",
        "order_in_session",
        "actor_type"
      ],
      "rows": 10796,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ai_simplified",
      "title": "Simplified AI Interaction Sequences (per-actor frame)",
      "topics": [
        "ai_simplified"
      ]
    },
    {
      "page": "association_rules_htna",
      "title": "Association Rule Mining over Transitions",
      "topics": [
        "association_rules_htna"
      ]
    },
    {
      "page": "bootstrap",
      "title": "Bootstrap generic",
      "topics": [
        "bootstrap"
      ]
    },
    {
      "page": "bootstrap_htna",
      "title": "Bootstrap an HTNA Network",
      "topics": [
        "bootstrap.htna",
        "bootstrap_htna"
      ]
    },
    {
      "page": "build_htna",
      "title": "Build a Heterogeneous Transition Network (HTNA)",
      "topics": [
        "build_htna"
      ]
    },
    {
      "page": "casedrop_reliability_htna",
      "title": "Edge-Weight Case-Dropping Stability",
      "topics": [
        "casedrop_reliability_htna"
      ]
    },
    {
      "page": "centralities_htna",
      "title": "Compute Centrality Measures for an htna Network",
      "topics": [
        "centralities_htna"
      ]
    },
    {
      "page": "centrality_stability_htna",
      "title": "Centrality Stability for an htna Network",
      "topics": [
        "centrality_stability_htna"
      ]
    },
    {
      "page": "edge_betweenness_htna",
      "title": "Edge Betweenness Network",
      "topics": [
        "edge_betweenness_htna"
      ]
    },
    {
      "page": "extract_meta_paths",
      "title": "Extract Path Patterns from a Heterogeneous Transition Network",
      "topics": [
        "extract_meta_paths"
      ]
    },
    {
      "page": "frequencies_htna",
      "title": "Tidy Per-Actor Frequency Table for an htna Network",
      "topics": [
        "frequencies_htna"
      ]
    },
    {
      "page": "htna_palette",
      "title": "Default HTNA colour palette",
      "topics": [
        "htna_palette"
      ]
    },
    {
      "page": "human_ai",
      "title": "Simplified Human + AI Interaction Sequences",
      "topics": [
        "human_ai"
      ]
    },
    {
      "page": "human_ai_codebook",
      "title": "Code → Actor-Type Codebook for 'human_ai'",
      "topics": [
        "human_ai_codebook"
      ]
    },
    {
      "page": "human_simplified",
      "title": "Simplified Human Interaction Sequences (per-actor frame)",
      "topics": [
        "human_simplified"
      ]
    },
    {
      "page": "markov_order_test_htna",
      "title": "Markov-Order Adequacy Test",
      "topics": [
        "markov_order_test_htna"
      ]
    },
    {
      "page": "mosaic_plot_htna",
      "title": "Chi-square Mosaic Plot of a Transition Network",
      "topics": [
        "mosaic_plot_htna"
      ]
    },
    {
      "page": "permutation_htna",
      "title": "Permutation Test for Network Differences",
      "topics": [
        "permutation_htna"
      ]
    },
    {
      "page": "plot_centralities",
      "title": "Plot Centrality Measures",
      "topics": [
        "plot_centralities"
      ]
    },
    {
      "page": "plot_edge_betweenness_htna",
      "title": "Plot the Edge Betweenness Network",
      "topics": [
        "plot_edge_betweenness_htna"
      ]
    },
    {
      "page": "plot_frequencies_htna",
      "title": "Plot State Frequencies (htna-named)",
      "topics": [
        "plot_frequencies_htna"
      ]
    },
    {
      "page": "plot_htna",
      "title": "Plot a Heterogeneous Transition Network",
      "topics": [
        "plot.htna",
        "plot.htna_group",
        "plot_htna"
      ]
    },
    {
      "page": "plot_htna_bootstrap",
      "title": "Plot an htna Bootstrap Result",
      "topics": [
        "plot.htna_bootstrap",
        "plot_htna_bootstrap"
      ]
    },
    {
      "page": "plot_htna_diff",
      "title": "Plot the Difference Between Two htna Networks",
      "topics": [
        "plot_htna_diff"
      ]
    },
    {
      "page": "plot_sequences",
      "title": "Sequence plot generic",
      "topics": [
        "plot_sequences"
      ]
    },
    {
      "page": "plot.htna_stability",
      "title": "Plot Method for htna Centrality Stability Objects",
      "topics": [
        "plot.htna_stability"
      ]
    },
    {
      "page": "plot.htna_stability_group",
      "title": "Plot Method for htna Stability Groups",
      "topics": [
        "plot.htna_stability_group"
      ]
    },
    {
      "page": "print.htna_stability",
      "title": "Print Method for htna Centrality Stability Objects",
      "topics": [
        "print.htna_stability"
      ]
    },
    {
      "page": "print.htna_stability_group",
      "title": "Print Method for htna Stability Groups",
      "topics": [
        "print.htna_stability_group"
      ]
    },
    {
      "page": "reliability_htna",
      "title": "Network Reliability for an htna Network",
      "topics": [
        "reliability_htna"
      ]
    },
    {
      "page": "sequence_compare_htna",
      "title": "Subsequence Pattern Comparison Across Groups",
      "topics": [
        "sequence_compare_htna"
      ]
    },
    {
      "page": "sequence_plot_htna",
      "title": "Plot Per-Actor Sequences From an htna Network",
      "topics": [
        "plot_sequences.htna",
        "sequence_plot_htna"
      ]
    },
    {
      "page": "state_distribution_htna",
      "title": "State Distribution Across Time",
      "topics": [
        "state_distribution_htna"
      ]
    },
    {
      "page": "state_frequencies_htna",
      "title": "Tidy State Frequency Table",
      "topics": [
        "state_frequencies_htna"
      ]
    },
    {
      "page": "summary.htna",
      "title": "Summarise a Heterogeneous Transition Network",
      "topics": [
        "summary.htna",
        "summary.htna_group"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/htna/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/htna/raw/HEAD/README.md",
  "_rundeps": [
    "brglm2",
    "cli",
    "cluster",
    "cograph",
    "cpp11",
    "data.table",
    "enrichwith",
    "farver",
    "ggplot2",
    "glasso",
    "glue",
    "gtable",
    "igraph",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "Nestimate",
    "nleqslv",
    "nnet",
    "numDeriv",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "statmod",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "htna.Rmd",
      "filename": "htna.html",
      "title": "Getting Started with htna",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Building a heterogeneous network",
        "2. Plotting the network",
        "3. Per-actor sequence plots",
        "4. Centralities",
        "5. Bootstrap",
        "6. Centrality stability",
        "7. Split-half reliability",
        "8. Comparing two networks",
        "9. Permutation test",
        "10. Path patterns"
      ],
      "created": "2026-07-06 14:40:11",
      "modified": "2026-07-06 14:40:11",
      "commits": 1
    },
    {
      "source": "input-formats.Rmd",
      "filename": "input-formats.html",
      "title": "Input formats for build_htna()",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup",
        "Form 1 — Named list of per-actor frames",
        "Form 2 — Single combined frame with actor_type",
        "Form 3 — Single combined frame with node_groups",
        "3a. Named list of code vectors",
        "3b. Two-column data frame (codebook)",
        "All forms produce the same network",
        "Handling code-label collisions with disambiguate =",
        "Splitting into cohorts with group =",
        "Cheat sheet"
      ],
      "created": "2026-07-06 14:40:11",
      "modified": "2026-07-06 14:40:11",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "htna",
  "_universes": [
    "cran",
    "sonsoleslp"
  ],
  "_indexurl": "https://sonsoleslp.r-universe.dev/htna",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-06T16:33:09.000Z",
      "distro": "resolute",
      "commit": "463bbc750c84fb1dcf2da08c2fd683ccc36e4817",
      "fileid": "https://r2.ropensci.org/f971cb9ec69a0784d620645f3446c11e9b3e39bf9da5f11969611cf6b12396c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28806706592"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-06T16:33:02.000Z",
      "distro": "resolute",
      "commit": "463bbc750c84fb1dcf2da08c2fd683ccc36e4817",
      "fileid": "https://r2.ropensci.org/7c17b71aeffbec23088b57257e663946e371d52fc8114a8517772a17de0c0f4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28806706592"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-06T16:33:07.000Z",
      "commit": "463bbc750c84fb1dcf2da08c2fd683ccc36e4817",
      "fileid": "https://r2.ropensci.org/c3543f6fcb25a859839c13c1b222691083155e95e2fc945bf30d4c318a7772df",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28806706592"
    }
  ]
}