tna1.1.0 package

Transition Network Analysis (TNA)

as.igraph.group_tna

Coerce a Specific Group from a group_tna Object into an igraph Obj...

as.igraph.matrix

Coerce a Weight Matrix into an igraph Object.

as.igraph.tna

Coerce a tna Object into an igraph Object.

betweenness_network

Build and Visualize a Network with Edge Betweenness

bootstrap_cliques

Bootstrap Cliques of Transition Networks from Sequence Data

bootstrap

Bootstrap Transition Networks from Sequence Data

build_model

Build a Transition Network Analysis Model

centralities

Calculate Centrality Measures for a Transition Matrix

cliques

Identify Cliques in a Transition Network

cluster_sequences

Cluster Sequences via Dissimilarity Matrix based on String Distances

communities

Community Detection for Transition Networks

compare_sequences

Compare Sequences Between Groups

compare.group_tna

Compare Grouped TNA Models with Comprehensive Metrics

compare

Compare Two Matrices or TNA Models with Comprehensive Metrics

deprune

Restore a Pruned Transition Network Analysis Model

estimate_centrality_stability

Estimate Centrality Stability

group_model

Build a Grouped Transition Network Analysis Model

hist.group_tna

Plot a Histogram of Edge Weights for a group_tna Object.

hist.tna

Plot a Histogram of Edge Weights in the Network

import_data

Import Wide Format Sequence Data as Long Format Sequence Data

import_onehot

Import One-Hot Data and Create a Co-Occurrence Network Model

mmm_stats

Retrieve Statistics from a Mixture Markov Model (MMM)

permutation_test.group_tna

Compare Networks using a Permutation Test

permutation_test

Compare Two Networks from Sequence Data using a Permutation Test

plot_associations

Plot an Association Network

plot_compare.group_tna

Plot the Difference Network Between Two Groups

plot_compare

Plot the Difference Network Between Two Models

plot_frequencies.group_tna

Plot the Frequency Distribution of States

plot_frequencies

Plot the Frequency Distribution of States

plot_model

Plot a Transition Network Model from a Matrix of Edge Weights

plot_mosaic.group_tna

Plot State Frequencies as a Mosaic Between Two Groups

plot_mosaic

Create a Mosaic Plot of Transitions or Events

plot_mosaic.tna_data

Plot State Frequencies as a Mosaic Between Two Groups

plot_sequences

Create a Sequence Index Plot or a Distribution Plot

plot.group_tna_bootstrap

Plot a Bootstrapped Grouped Transition Network Analysis Model

plot.group_tna_centralities

Plot Centrality Measures

plot.group_tna_cliques

Plot Found Cliques

plot.group_tna_communities

Plot Detected Communities

plot.group_tna_permutation

Plot Permutation Test Results

plot.group_tna_stability

Plot Centrality Stability Results

plot.group_tna

Plot a Grouped Transition Network Analysis Model

plot.tna_bootstrap

Plot a Bootstrapped Transition Network Analysis Model

plot.tna_centralities

Plot Centrality Measures

plot.tna_cliques

Plot Cliques of a TNA Network

plot.tna_communities

Plot Communities

plot.tna_comparison

Plot the Comparison of Two TNA Models or Matrices

plot.tna_permutation

Plot the Significant Differences from a Permutation Test

plot.tna_sequence_comparison

Plot a Sequence Comparison

plot.tna_stability

Plot Centrality Stability Results

plot.tna

Plot a Transition Network Analysis Model

prepare_data

Compute User Sessions from Event Data

print.group_tna_bootstrap

Print group_tna Bootstrap Results

print.group_tna_centralities

Print Centrality Measures

print.group_tna_cliques

Print Found Cliques

print.group_tna_communities

Print Detected Communities

print.group_tna_permutation

Print Permutation Test Results

print.group_tna_stability

Print Centrality Stability Results

print.group_tna

Print a group_tna Object

print.summary.group_tna_bootstrap

Print a Bootstrap Summary for a Grouped Transition Network Model

print.summary.group_tna

Print a Summary of a Grouped Transition Network Analysis Model

print.summary.tna_bootstrap

Print a Bootstrap Summary

print.summary.tna

Print a TNA Summary

print.tna_bootstrap

Print Bootstrap Results

print.tna_centralities

Print Centrality Measures

print.tna_cliques

Print Found Cliques of a TNA Network

print.tna_communities

Print Detected Communities

print.tna_comparison

Print Comparison Results

print.tna_data

Print a TNA Data Object

print.tna_permutation

Print Permutation Test Results

print.tna_sequence_comparison

Print a Comparison of Sequences

print.tna_stability

Print Centrality Stability Results

print.tna

Print a tna Object

prune

Prune a Transition Network based on Transition Probabilities

pruning_details

Print Detailed Information on the Pruning Results

reexports

Objects exported from other packages

rename_groups

Rename Groups

reprune

Restore Previous Pruning of a Transition Network Analysis Model

simulate.tna

Simulate Data from a Transition Network Analysis Model

sna

Build a Social Network Analysis Model

summary.group_tna_bootstrap

Summarize Bootstrap Results for a Grouped Transition Network

summary.group_tna

Calculate Summary of Network Metrics for a grouped Transition Network

summary.tna_bootstrap

Summarize Bootstrap Results

summary.tna

Calculate Summary of Network Metrics for a Transition Network

tna-package

The tna Package.

Provides tools for performing Transition Network Analysis (TNA) to study relational dynamics, including functions for building and plotting TNA models, calculating centrality measures, and identifying dominant events and patterns. TNA statistical techniques (e.g., bootstrapping and permutation tests) ensure the reliability of observed insights and confirm that identified dynamics are meaningful. See (Saqr et al., 2025) <doi:10.1145/3706468.3706513> for more details on TNA.

  • Maintainer: Sonsoles López-Pernas
  • License: MIT + file LICENSE
  • Last published: 2025-10-18