Transition Trajectories and Dynamics of Variable-Length Pathways or Sequences


[Up] [Top]

Documentation for package ‘transitiontrees’ version 0.2.0

Help Pages

ai_long AI turns in human-AI programming sessions (long event log)
as.data.frame.transitiontrees Convert a fitted transition tree to a data frame of contexts
as.data.frame.transitiontrees_bootstrap Convert a pathway bootstrap to a data frame
as.data.frame.transitiontrees_comparison Convert a two-tree comparison to a data frame
as.data.frame.transitiontrees_group Convert a group of transition trees to one data frame of contexts
as.data.frame.transitiontrees_group_comparison Convert a group comparison to a data frame
as.data.frame.transitiontrees_tune Convert a tuning grid to a data frame
bootstrap_pathways Bootstrap the stability and informativeness of pathways
common_pathways List the most frequent pathways of a tree
compare_groups Test where groups of sequences differ, context by context
compare_pruning Compare pruning criteria on one tree
compare_smoothing Compare smoothing schemes on one dataset
compare_trees Test whether two context trees differ, with a permutation test
context_tree Fit a variable-order transition tree
divergent_pathways List the pathways whose history most changes the prediction
engagement Student engagement sequences (wide format)
generate_sequences Generate sequences from a fitted transition tree
group_regulation_long Regulation of collaborative learning (long event log)
impute_sequences Fill in missing states of incomplete sequences
logLik.transitiontrees Compute the log-likelihood of a transition tree
mine_contexts Find the contexts that make a given next state likely or unlikely
mine_sequences Find the least and most typical sequences
model_fit Summarize the fit of a transition tree
nobs.transitiontrees Count the observations a transition tree was fitted on
n_nodes Count the contexts of a transition tree
pathway_exists Test whether a pathway is a context of the tree
perplexity Compute the perplexity of a transition tree
plot.transitiontrees Plot a context tree
plot.transitiontrees_bootstrap Plot bootstrap intervals of pathway informativeness
plot.transitiontrees_comparison Plot the permutation distribution of a two-tree comparison
plot.transitiontrees_group Plot the context tree of each group
plot.transitiontrees_group_comparison Plot the context-level differences between groups
plot.transitiontrees_tune Plot the cross-validated perplexity of a tuning grid
plot_difference Map the next-state differences between two groups
plot_distributions Plot the next-state distribution of each context
plot_divergence Plot the pathways whose history changes the prediction most
plot_pathways Plot pathways as a heatmap of next-state probabilities
plot_pathway_resamples Plot the bootstrap distribution of pathway statistics
plot_predictive Plot how well a context tree predicts new sequences
plot_pruning Plot how much memory one pathway needs
plot_trajectories Draw a forward trajectory tree
predict.transitiontrees Predict the next state after each history
prepare_input Reshape a long event log into one sequence per row
print.summary.transitiontrees Print the summary of a transition tree
print.summary.transitiontrees_comparison Print a summary of a two-tree comparison
print.summary.transitiontrees_group Print the summary of a group of transition trees
print.summary.transitiontrees_group_comparison Print a summary of a group comparison
print.summary.transitiontrees_tune Print a summary of a tuning grid
print.transitiontrees Print a fitted transition tree
print.transitiontrees_bootstrap Print a pathway bootstrap
print.transitiontrees_comparison Print a two-tree comparison
print.transitiontrees_group Print a group of fitted transition trees
print.transitiontrees_group_comparison Print a group comparison
print.transitiontrees_tune Print a tuning grid
prune_tree Prune a transition tree to the contexts that change the prediction
query_pathway Look up the next-state distribution after a pathway
score_positions Score each position of each sequence under a fitted tree
score_sequences Score each sequence under a fitted tree
sharp_pathways List the pathways with the most certain next state
simulate.transitiontrees Simulate sequences from a fitted transition tree
smooth_tree Re-smooth the next-state probabilities of a fitted tree
state_frequencies Count how often each state occurs
subtree Extract the branch of a tree below one context
summary.transitiontrees Summarize a fitted transition tree
summary.transitiontrees_bootstrap Summarize a pathway bootstrap
summary.transitiontrees_comparison Summarize a two-tree comparison
summary.transitiontrees_group Summarize a group of fitted transition trees
summary.transitiontrees_group_comparison Summarize a group comparison
summary.transitiontrees_tune Summarize a tuning grid
trajectories Student engagement trajectories
tree_dependence Measure how much each step of history changes the prediction
tree_distance Compute the divergence between two context trees
tree_pathways List the pathways of a fitted transition tree
tune_tree Select context tree settings by cross-validated perplexity