Skip to contents

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 the actor units, and plot() 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, and transition_scope() tells transitions inside one unit (such as one message) from transitions across units. Without term, transition_effects() reports every covariate from one bootstrap; without values, 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 base plot() 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

Refined results

These functions give refined results since 0.9.24.

What works differently

  • Say which column is which. Nestimate no longer guesses a column’s role from its name. Give action, actor and time for an event log, or state_cols for wide data, and format = "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 group column when groups are compared: sequence_metrics(group = ), sequence_patterns(group = ), net_centrality() on several networks, and summary() of a grouped network, passage_time(), transition_entropy(), chain_structure(), markov_stability() and nct(). 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() and markov_order_test() use dof = "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 and centrality_stability() count a subset that fails as below the threshold.
  • Renamed. vertex_compare() columns are observed_x and observed_y; plot_state_frequencies(colors = ) is state_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() after group must be named.
  • prepare_onehot() and plot_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

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_mcml and plot_state_frequencies had been named after a print() 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() names cograph::splot(), and the rest say they are ignored.
    • compare_networks: the ... and labels entries no longer repeat; net_edge_betweenness and net_pruning_details no longer list a non-existent class.
    • Every S3 method has a documented return value.

Behaviour notes

  • The mgm estimator rejects scale = FALSE with 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 manual multinom re-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 the scale = FALSE error.

Nestimate 0.3.0

CRAN release: 2026-04-08

  • First release on CRAN.