Nestimate 1.3.0
- Transition regression accepts character state labels in transition tables and reuses converged maximum-likelihood fits during automatic estimator selection.
- Predictions identify unsupported origin states. Contrast summaries and agreement checks distinguish unavailable intervals from intervals that include zero.
- Transition curves report the requested interval coverage and use a legend to identify transitions without overlapping endpoint labels.
Nestimate 1.2.1
New
-
Transition regression.
transition_regression()regresses the next state on covariates, one multinomial logit per current state; with no covariates it reproduces the TNA weights. It reads a network directly, including a grouped network or a clustering, whose group or cluster becomes a covariate, and joins covariates kept in a table of their own (covariate_data,by).transition_effects()gives the difference and the ratio between the networks predicted at two values of a covariate, for every transition, with intervals from a bootstrap of theactorunits, andplot()draws it as a network of changes.predicted_network()returns the network at one value,transition_curve()the probabilities along a numeric covariate,effects_agreement()compares two contrast tables, andtransition_scope()tells transitions inside one unit (such as one message) from transitions across units. Withoutterm,transition_effects()reports every covariate from one bootstrap; withoutvalues, a numeric covariate is compared at its 25th and 75th percentile and a factor at each level against the first.update(fit, covariates = )refits with one argument changed.
Fixed
-
plot()of a network works without loading cograph first. Before, a network, a group of networks, a multilevel network and a bootstrap or permutation result fell through to baseplot()and failed with “‘x’ is a list, but does not have components ‘x’ and ‘y’”; a single bootstrap or permutation result failed even with cograph loaded. They now draw with cograph, and without it stop with an error that says to install it.
Nestimate 1.2.0
CRAN release: 2026-11-26
This version collects everything since 0.9.24, the last release on CRAN. Some results are refined and some functions now ask you to say what your columns are; see “Refined results” and “What works differently”.
New
-
Latency networks.
build_network(method = "latency")builds a reply network in which faster replies carry more weight (Templeton et al. 2022). -
Stability landscapes.
stability_landscape()draws each state as a cup whose depth shows how long people stay in it.landscape_trend()follows the depths over time or along a covariate, andlandscape_surface()draws them along a measure of stability. -
Sequence patterns and indices.
sequence_patterns()finds the patterns in sequences and tests them between groups.sequence_metrics()computes 23 indices for each sequence (entropy, turbulence, complexity, spells and others) and compares them between groups.pattern_outcome()relates patterns to an outcome, andextract_sequences()returns the sequences behind any input. -
Phases.
mark_phases()splits each person’s events into phases, sobuild_network(group = "phase")gives one network per phase. -
Nested data.
mosaic_test()tests counts nested in people or teams, andmosaic_plot()andmosaic_analysis()takenestedandactor.permutation(),centrality_stability()andcasedrop_reliability()takeactorto resample whole people. -
Entropy over time.
entropy_trajectory()reads sequences as well as event logs, and its plot shows a bootstrap band around each trend. -
Sequence plots by period.
sequence_plot()can show actions per day, week or month (periods), and bothsequence_plot()anddistribution_plot()can drop rare columns (trim). - tna models can be passed wherever a network or sequences are accepted.
-
New dataset
daily_actions: the learning actions of 30 students over seven days (simulated). - Smaller additions:
node_clusters(),label_predictions()andlabel_scores();nct()handles missing values and constant variables;extract_edges()andextract_initial_probs()read a group of networks; thebuild_*()shortcuts takegroup,scaling,thresholdandparams;build_mcml()reads edge lists;cooccurrence()andassociation_rules()read 0/1 tables (format = "binary");compare_networks()marks significant differences in its difference plot;window_sizeinbuild_network(params = )now works as in tna.
Refined results
These functions give refined results since 0.9.24.
-
nct()reported the structure test as the strength test and the other way round, andsummary()swapped the in- and out-strength spreads. -
build_mlvar()drew temporal edges in the wrong direction (from outcome to predictor). -
sequence_compare()effect sizes changed withmin_freq. -
build_hypa()flagged anomalies in first-order data, which has none; it now uses a strength-preserving null.build_hon(method = "hon")now matches pyHON, andmethod = "hon+"missed some rules. -
permutation()andcompare_networks(test = "permutation")accepted two networks estimated in different ways (say Pearson and Spearman) and reported the difference as a difference between the groups. They now refuse. -
boot_glasso(),build_mcml_pc()andloading_stability()ignored the network’s own estimator settings. - Numbers were corrected in centrality (
BetweennessRSP, betweenness ties, min-max normalisation),net_prune(),build_mmm(),build_clusters(),build_mcml(),passage_time(),chain_structure(),markov_stability(),entropy_bayes(),hypergraph_centrality(),q_analysis(),persistent_homology(),betti_numbers(),bottleneck_distance(),pathways(),mogen_transitions(),extract_initial_probs(),mosaic_analysis(),predict_links()(ties),evaluate_links(), and the smoothing oflandscape_surface()andlandscape_trend().
What works differently
-
Say which column is which. Nestimate no longer guesses a column’s role from its name. Give
action,actorandtimefor an event log, orstate_colsfor wide data, andformat = "onehot"for 0/1 code columns. Extra columns in wide data (metadata,actor,time,order) are no longer read as states. Times must include a four-digit year. -
Results are tables. These used to return lists or wide tables and now return one data frame, one row per item, with a
groupcolumn when groups are compared:sequence_metrics(group = ),sequence_patterns(group = ),net_centrality()on several networks, andsummary()of a grouped network,passage_time(),transition_entropy(),chain_structure(),markov_stability()andnct().format = "wide"gives the old layout;table =picks the second table where there is one. Printing shows the first rows,summary()all of them. - Printing a network lists its strongest edges instead of the whole weight matrix.
-
New defaults.
build_mogen()andmarkov_order_test()usedof = "paths"(dof = "observed"gives the old values).casedrop_reliability()compares only the edges a transition network has (target = "all"gives the old values), and it andcentrality_stability()count a subset that fails as below the threshold. -
Renamed.
vertex_compare()columns areobserved_xandobserved_y;plot_state_frequencies(colors = )isstate_colors =(the old name still works, with a warning). -
Refused inputs. Functions that read sequences refuse one-hot networks and association networks (correlation, partial correlation, glasso, Ising, mixed graphical models); resampling functions refuse a single sequence and networks built with
level; latency networks can only be bootstrapped; Markov measures refuse correlation networks;entropy_trajectory()refuses missing times. -
scaling = "normalize"on an undirected network returns a directed network when the rows no longer match the columns. - Arguments of
sequence_plot()aftergroupmust be named. -
prepare_onehot()andplot_mosaic()are no longer exported. -
seed =no longer changes your session’s random numbers.
Documentation
- “Comparing sequences between groups” is now an article on the package website instead of a vignette installed with the package; its address, PDF and DOI are unchanged.
- Examples use 20 resamples (200 posterior draws) so they run quickly; a real analysis uses 1,000 or more.
Colours
Every figure colours states the same way: with no colours set, states get colour-blind-safe Okabe-Ito colours in alphabetical order, and anything derived from a network keeps its colours. Plots that used rainbow, viridis or red-green now use these colours, with shapes or line types where colour alone separated groups.
Other fixes
-
plot()ofentropy_trajectory()dropped groups with few windows. -
plot()ofbayes_compare()failed on a group of networks. -
landscape_trend(along = )failed on averaged metadata. - Colours set with
set_state_colors()were lost after clustering. -
subset()ofcompare_networks()tables printed only two decimals. - Data with a single state failed in
bootstrap_network(),path_dependence()andpredict_links(). -
labels =did not relabel the stored data. -
sequence_plot()anddistribution_plot()refused a data.table or tibble. -
cluster_network()ignored its arguments. - The pyramid plot of
sequence_compare()cut off its counts, and its printout now shows one row per pattern and group.
Nestimate 0.9.24
CRAN release: 2026-10-07
Documentation
- Fixes to the 0.9.23 help-page merge, found in review:
- Pages are named after their function again:
build_mcmlandplot_state_frequencieshad been named after aprint()method, and their usage now lists the function before its methods. - The descriptions of 51 methods (what a plot draws, what a print shows) are restored, as a “Methods” section on each function’s page.
- Each page’s
...entry states what each method does with extra arguments: methods that reject them say so,plot.net_bayes()namescograph::splot(), and the rest say they are ignored. -
compare_networks: the...andlabelsentries no longer repeat;net_edge_betweennessandnet_pruning_detailsno longer list a non-existent class. - Every S3 method has a documented return value.
- Pages are named after their function again:
Behaviour notes
- The
mgmestimator rejectsscale = FALSEwith a classed error (nestimate_mgm_unscaled); this started in 0.9.23 and was not listed there. Missing values are handled pairwise, now passed explicitly.
Tests
- Two more reference-implementation tests (a hand-written linear solve for
passage_time(), a manualmultinomre-computation) and unused reference helpers moved to the local suite; section headers that claimed equivalence tests are renamed. New tests: mgm on data with missing values, and thescale = FALSEerror.