{
  "_id": "6b00bd67304827bb829a2e0d",
  "Package": "htna",
  "Title": "Heterogeneous Transition Network Analysis",
  "Version": "0.3.7",
  "Authors@R": "c(\nperson(\"Sonsoles\", \"L\\u00f3pez-Pernas\", email = \"sonsoles.lopez@uef.fi\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-9621-1392\")),\nperson(\"Kamila\", \"Misiejuk\", role = c(\"aut\", \"cph\")),\nperson(\"Mohammed\", \"Saqr\", email = \"saqr@saqr.me\",\nrole = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-5881-3109\"))\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 AI),\npreserving the actor type partition on the resulting network.\nProvides 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",
  "LazyData": "true",
  "Config/roxygen2/version": "8.1.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-20 21:32:03 UTC",
    "User": "root"
  },
  "Author": "Sonsoles López-Pernas [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-9621-1392>), Kamila Misiejuk [aut,\ncph], Mohammed Saqr [aut, cph] (ORCID:\n<https://orcid.org/0000-0001-5881-3109>)",
  "Maintainer": "Sonsoles López-Pernas <sonsoles.lopez@uef.fi>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-20 12:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/htna",
  "RemoteRef": "HEAD",
  "RemoteSha": "140b9402f9fbd80654635d61739f14b846bd6cd6",
  "_user": "cran",
  "_type": "src",
  "_file": "htna_0.3.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/de6a26ba51a169c6310e61f28cd67b60619290a30827a412bcf340b29ee21749",
  "_filesize": 3736951,
  "_sha256": "de6a26ba51a169c6310e61f28cd67b60619290a30827a412bcf340b29ee21749",
  "_expires": "2027-02-28T21:36:36.000Z",
  "_created": "2026-11-20T21:32:03.000Z",
  "_published": "2026-11-20T21:36:38.958Z",
  "_upstream": "https://github.com/cran/htna",
  "_status": "success",
  "_maintainer": {
    "name": "Sonsoles López-Pernas",
    "email": "sonsoles.lopez@uef.fi",
    "login": "sonsoleslp",
    "twitter": "@sonsoleslp",
    "description": "Associate Professor at University of Eastern Finland",
    "uuid": 10948559,
    "orcid": "0000-0002-9621-1392"
  },
  "_jobs": [
    {
      "job": 136582308258,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14671664333"
    },
    {
      "job": 136582308254,
      "time": 225,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14671469563"
    },
    {
      "job": 136580405726,
      "time": 223,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14670712682"
    },
    {
      "job": 136582308422,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14671877557"
    },
    {
      "job": 136582308268,
      "time": 178,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14672087656"
    },
    {
      "job": 136582308217,
      "time": 142,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14672052546"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/44820604679",
  "_commit": {
    "id": "140b9402f9fbd80654635d61739f14b846bd6cd6",
    "author": "Sonsoles López-Pernas <sonsoles.lopez@uef.fi>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.7\n",
    "time": 1795178402
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Nestimate",
      "version": ">= 0.8.0",
      "role": "Imports"
    },
    {
      "package": "cograph",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "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
    },
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-06"
    },
    {
      "name": "0.3.1",
      "date": "2026-07-28"
    },
    {
      "name": "0.3.7",
      "date": "2026-11-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "sonsoleslp",
      "count": 3,
      "uuid": 10948559
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 401,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/htna"
  },
  "_devurl": "https://github.com/sonsoleslp/htna",
  "_pkgdown": "https://sonsoles.me/htna/",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/htna.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/sonsoleslp/htna",
  "_realowner": "sonsoleslp",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-06"
    },
    {
      "version": "0.3.1",
      "date": "2026-07-28"
    },
    {
      "version": "0.3.7",
      "date": "2026-11-20"
    }
  ],
  "_authors": [
    {
      "name": "Sonsoles López-Pernas",
      "email": "sonsoles.lopez@uef.fi",
      "orcid": "0000-0002-9621-1392",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    },
    {
      "name": "Kamila Misiejuk",
      "role": [
        "aut",
        "cph"
      ]
    },
    {
      "name": "Mohammed Saqr",
      "email": "saqr@saqr.me",
      "orcid": "0000-0001-5881-3109",
      "role": [
        "aut",
        "cph"
      ]
    }
  ],
  "_exports": [
    "association_rules_htna",
    "bayes_compare_htna",
    "bootstrap",
    "bootstrap_htna",
    "build_htna",
    "casedrop_reliability_htna",
    "centralities_htna",
    "centrality_stability_htna",
    "certainty_htna",
    "compare_htna",
    "deprune_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",
    "prune_htna",
    "pruning_details_htna",
    "reliability_htna",
    "reprune_htna",
    "sequence_compare_htna",
    "sequence_plot_htna",
    "state_distribution_htna",
    "state_frequencies_htna"
  ],
  "_datasets": [
    {
      "name": "ai_simplified",
      "title": "AI turns of the vibe-coding sessions",
      "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": "Human and AI turns in vibe-coding sessions",
      "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-to-actor codebook for the vibe-coding data",
      "object": "human_ai_codebook",
      "class": [
        "data.frame"
      ],
      "fields": [
        "code",
        "actor_type"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "human_simplified",
      "title": "Human turns of the vibe-coding sessions",
      "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": "htna-package",
      "title": "htna: Heterogeneous Transition Network Analysis",
      "topics": [
        "htna-package",
        "htna"
      ]
    },
    {
      "page": "ai_simplified",
      "title": "AI turns of the vibe-coding sessions",
      "topics": [
        "ai_simplified"
      ]
    },
    {
      "page": "as.data.frame.htna",
      "title": "Tabulate the edges and nodes of an htna network",
      "topics": [
        "as.data.frame.htna",
        "as.data.frame.htna_group"
      ]
    },
    {
      "page": "as.data.frame.htna_stability",
      "title": "Tabulate centrality stability results",
      "topics": [
        "as.data.frame.htna_stability",
        "as.data.frame.htna_stability_group",
        "summary.htna_stability_group"
      ]
    },
    {
      "page": "as.igraph.htna",
      "title": "Convert an htna network to an igraph graph",
      "topics": [
        "as.igraph.htna",
        "as.igraph.htna_group"
      ]
    },
    {
      "page": "association_rules_htna",
      "title": "Mine association rules from the sessions of a network",
      "topics": [
        "association_rules_htna"
      ]
    },
    {
      "page": "bayes_compare_htna",
      "title": "Compare networks edge by edge with a Bayesian model",
      "topics": [
        "bayes_compare_htna"
      ]
    },
    {
      "page": "bootstrap",
      "title": "Bootstrap a network",
      "topics": [
        "bootstrap"
      ]
    },
    {
      "page": "bootstrap_htna",
      "title": "Bootstrap the edges of a heterogeneous transition network",
      "topics": [
        "bootstrap.htna",
        "bootstrap_htna"
      ]
    },
    {
      "page": "build_htna",
      "title": "Build a heterogeneous transition network",
      "topics": [
        "build_htna"
      ]
    },
    {
      "page": "casedrop_reliability_htna",
      "title": "Assess the case-dropping stability of the edge weights",
      "topics": [
        "casedrop_reliability_htna"
      ]
    },
    {
      "page": "centralities_htna",
      "title": "Compute node centralities of an htna network",
      "topics": [
        "centralities_htna"
      ]
    },
    {
      "page": "centrality_stability_htna",
      "title": "Assess the case-dropping stability of node centralities",
      "topics": [
        "centrality_stability_htna"
      ]
    },
    {
      "page": "certainty_htna",
      "title": "Estimate the closed-form certainty of the edge weights",
      "topics": [
        "certainty_htna"
      ]
    },
    {
      "page": "compare_htna",
      "title": "Describe the differences between heterogeneous transition networks",
      "topics": [
        "compare_htna"
      ]
    },
    {
      "page": "deprune_htna",
      "title": "Restore the edges removed by pruning",
      "topics": [
        "deprune_htna"
      ]
    },
    {
      "page": "edge_betweenness_htna",
      "title": "Compute the edge betweenness of an htna network",
      "topics": [
        "edge_betweenness_htna"
      ]
    },
    {
      "page": "extract_meta_paths",
      "title": "Count recurring paths and meta-paths in the sessions",
      "topics": [
        "extract_meta_paths"
      ]
    },
    {
      "page": "frequencies_htna",
      "title": "Count the codes of each actor in a network",
      "topics": [
        "frequencies_htna"
      ]
    },
    {
      "page": "htna_comparison-methods",
      "title": "Print, summarize and tabulate an htna network comparison",
      "topics": [
        "as.data.frame.htna_comparison",
        "as.data.frame.htna_comparison_group",
        "htna_comparison-methods",
        "print.htna_comparison",
        "print.htna_comparison_group",
        "summary.htna_comparison",
        "summary.htna_comparison_group"
      ]
    },
    {
      "page": "htna_palette",
      "title": "Colours of the actor types in htna plots",
      "topics": [
        "htna_palette"
      ]
    },
    {
      "page": "human_ai",
      "title": "Human and AI turns in vibe-coding sessions",
      "topics": [
        "human_ai"
      ]
    },
    {
      "page": "human_ai_codebook",
      "title": "Code-to-actor codebook for the vibe-coding data",
      "topics": [
        "human_ai_codebook"
      ]
    },
    {
      "page": "human_simplified",
      "title": "Human turns of the vibe-coding sessions",
      "topics": [
        "human_simplified"
      ]
    },
    {
      "page": "markov_order_test_htna",
      "title": "Test the Markov order of the sessions",
      "topics": [
        "markov_order_test_htna"
      ]
    },
    {
      "page": "mosaic_plot_htna",
      "title": "Plot a chi-square mosaic of the transitions of an htna network",
      "topics": [
        "mosaic_plot_htna"
      ]
    },
    {
      "page": "permutation_htna",
      "title": "Test differences between networks by permutation",
      "topics": [
        "permutation_htna"
      ]
    },
    {
      "page": "plot_centralities",
      "title": "Plot node centralities of an htna network",
      "topics": [
        "plot_centralities"
      ]
    },
    {
      "page": "plot_edge_betweenness_htna",
      "title": "Plot the edge betweenness of an htna network",
      "topics": [
        "plot_edge_betweenness_htna"
      ]
    },
    {
      "page": "plot_frequencies_htna",
      "title": "Plot the frequencies of the codes of an htna network",
      "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 the bootstrap-assessed edges of an htna network",
      "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": "Plot sequences",
      "topics": [
        "plot_sequences"
      ]
    },
    {
      "page": "plot.htna_comparison_group",
      "title": "Plot the comparisons of a grouped network",
      "topics": [
        "plot.htna_comparison_group"
      ]
    },
    {
      "page": "plot.htna_stability",
      "title": "Plot centrality stability against the proportion of sessions dropped",
      "topics": [
        "plot.htna_stability",
        "plot.htna_stability_group"
      ]
    },
    {
      "page": "print.htna_bootstrap_group",
      "title": "Print and summarize the bootstraps of a grouped network",
      "topics": [
        "print.htna_bootstrap_group",
        "summary.htna_bootstrap_group"
      ]
    },
    {
      "page": "print.htna_paths",
      "title": "Print a table of paths or meta-paths",
      "topics": [
        "print.htna_paths"
      ]
    },
    {
      "page": "print.htna_stability",
      "title": "Print centrality stability coefficients",
      "topics": [
        "print.htna_stability",
        "print.htna_stability_group"
      ]
    },
    {
      "page": "prune_htna",
      "title": "Remove weak edges from a heterogeneous transition network",
      "topics": [
        "prune_htna"
      ]
    },
    {
      "page": "pruning_details_htna",
      "title": "List the edges removed by pruning",
      "topics": [
        "pruning_details_htna"
      ]
    },
    {
      "page": "reliability_htna",
      "title": "Estimate the split-half reliability of a heterogeneous transition network",
      "topics": [
        "reliability_htna"
      ]
    },
    {
      "page": "reprune_htna",
      "title": "Re-apply a recorded pruning rule",
      "topics": [
        "reprune_htna"
      ]
    },
    {
      "page": "sequence_compare_htna",
      "title": "Compare short sequence patterns between groups of sessions",
      "topics": [
        "sequence_compare_htna"
      ]
    },
    {
      "page": "sequence_plot_htna",
      "title": "Plot the sessions of an htna network as sequences",
      "topics": [
        "plot_sequences.htna",
        "sequence_plot_htna"
      ]
    },
    {
      "page": "state_distribution_htna",
      "title": "Tabulate the distribution of the codes within each actor",
      "topics": [
        "state_distribution_htna"
      ]
    },
    {
      "page": "state_frequencies_htna",
      "title": "Count the codes of a network over all actors",
      "topics": [
        "state_frequencies_htna"
      ]
    },
    {
      "page": "summary.htna",
      "title": "Summarize a heterogeneous transition network",
      "topics": [
        "as.data.frame.summary.htna",
        "as.data.frame.summary.htna_group",
        "print.summary.htna",
        "print.summary.htna_group",
        "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",
    "glue",
    "gtable",
    "idiographic",
    "igraph",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "Nestimate",
    "nleqslv",
    "nnet",
    "numDeriv",
    "pkgconfig",
    "psychnets",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "statmod",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "grouped.Rmd",
      "filename": "grouped.html",
      "title": "Grouped heterogeneous transition networks",
      "author": "Written by Mohammed Saqr and Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data",
        "One network per cohort",
        "The networks side by side",
        "Centralities per cohort",
        "The sessions of each cohort",
        "Assessing each cohort",
        "A first comparison",
        "Working with the grouped object",
        "References"
      ],
      "created": "2026-11-20 12:40:02",
      "modified": "2026-11-20 12:40:02",
      "commits": 1
    },
    {
      "source": "htna.Rmd",
      "filename": "htna.html",
      "title": "Heterogeneous transition network analysis",
      "author": "Written by Mohammed Saqr and Sonsoles López-Pernas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The model",
        "Data",
        "Building the network",
        "How the actors hand over",
        "The network plot",
        "Which codes are central",
        "Focusing on the strong transitions",
        "Turn-taking patterns",
        "The sessions over time",
        "How certain are the edges",
        "Are the conclusions stable",
        "Further reading",
        "References"
      ],
      "created": "2026-07-06 14:40:11",
      "modified": "2026-11-20 12:40:02",
      "commits": 2
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": false,
  "_nocasepkg": "htna",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://sonsoleslp.r-universe.dev/htna",
  "_previous": "0.3.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.7",
      "date": "2026-11-20T21:34:19.000Z",
      "distro": "resolute",
      "commit": "140b9402f9fbd80654635d61739f14b846bd6cd6",
      "fileid": "https://r2.ropensci.org/93ed29d05195076f4f5a88297b65e31c455e51c1bef70872efd9356e64b4f96d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820604679"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.7",
      "date": "2026-11-20T21:34:23.000Z",
      "distro": "resolute",
      "commit": "140b9402f9fbd80654635d61739f14b846bd6cd6",
      "fileid": "https://r2.ropensci.org/ab2a0fe9331bf1bd223fe5c9295a06f6b88d248de49bad7c013213ec3d6554a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820604679"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.7",
      "date": "2026-11-20T21:34:23.000Z",
      "commit": "140b9402f9fbd80654635d61739f14b846bd6cd6",
      "fileid": "https://r2.ropensci.org/2d579dc77226b5d657538cb70e09cf4e10014fcd660de280a730c48b828dc680",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820604679"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.7",
      "date": "2026-11-20T21:33:24.000Z",
      "commit": "140b9402f9fbd80654635d61739f14b846bd6cd6",
      "fileid": "https://r2.ropensci.org/073eabb6f455e9fe86ef66e2a698049e0fa4f3675da701898c68eb33a76f4e4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820604679"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.7",
      "date": "2026-11-20T21:33:17.000Z",
      "commit": "140b9402f9fbd80654635d61739f14b846bd6cd6",
      "fileid": "https://r2.ropensci.org/1944ecbb3cb6fb8529dcba56c687b526ae6b691688327504aad2ae441e5d4645",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820604679"
    }
  ]
}