Skip to contents

Build

Construct and inspect a heterogeneous transition network

build_htna()
Build a Heterogeneous Transition Network (HTNA)
summary(<htna>) summary(<htna_group>)
Summarise a Heterogeneous Transition Network

Frequencies and distributions

Marginal state-level summaries and chi-square mosaics

frequencies_htna()
Tidy Per-Actor Frequency Table for an htna Network
plot_frequencies_htna()
Plot State Frequencies (htna-named)
state_frequencies_htna()
Tidy State Frequency Table
state_distribution_htna()
State Distribution Across Time
mosaic_plot_htna()
Chi-square Mosaic Plot of a Transition Network

Sequences

Per-session trajectories and k-gram pattern comparison

sequence_plot_htna() plot_sequences(<htna>)
Plot Per-Actor Sequences From an htna Network
plot_sequences()
Sequence plot generic
sequence_compare_htna()
Subsequence Pattern Comparison Across Groups

Network plots

Visualise an htna network and contrasts between networks

plot_htna() plot(<htna>) plot(<htna_group>)
Plot a Heterogeneous Transition Network
plot_htna_bootstrap() plot(<htna_bootstrap>)
Plot an htna Bootstrap Result
plot_htna_diff()
Plot the Difference Between Two htna Networks

Centrality

Compute and visualise node-level centralities

centralities_htna()
Compute Centrality Measures for an htna Network
plot_centralities()
Plot Centrality Measures

Edge betweenness

Replace edge weights with shortest-path betweenness scores

edge_betweenness_htna()
Edge Betweenness Network
plot_edge_betweenness_htna()
Plot the Edge Betweenness Network

Paths and patterns

Discover meta-paths, state-level patterns, and association rules

extract_meta_paths()
Extract Path Patterns from a Heterogeneous Transition Network
print(<htna_paths>)
Print Method for htna Path/Pattern Objects
association_rules_htna()
Association Rule Mining over Transitions

Model assessment

Reliability, stability, permutation, and Markov-order adequacy

bootstrap_htna() bootstrap(<htna>)
Bootstrap an HTNA Network
bootstrap()
Bootstrap generic
permutation_htna()
Permutation Test for Network Differences
reliability_htna()
Network Reliability for an htna Network
casedrop_reliability_htna()
Edge-Weight Case-Dropping Stability
centrality_stability_htna()
Centrality Stability for an htna Network
plot(<htna_stability>)
Plot Method for htna Centrality Stability Objects
plot(<htna_stability_group>)
Plot Method for htna Stability Groups
print(<htna_stability>)
Print Method for htna Centrality Stability Objects
print(<htna_stability_group>)
Print Method for htna Stability Groups
markov_order_test_htna()
Markov-Order Adequacy Test

Datasets

Sample datasets

human_ai
Simplified Human + AI Interaction Sequences
human_simplified
Simplified Human Interaction Sequences (per-actor frame)
ai_simplified
Simplified AI Interaction Sequences (per-actor frame)
human_ai_codebook
Code → Actor-Type Codebook for human_ai