tna 0.4.1
- The
detailed
argument ofestimate_centrality_stability()
has been implemented. Previously this argument had no effect on the output of the function. - Removed several duplicated entries in the documentation.
tna 0.4.0
CRAN release: 2025-03-01
- The
prepare_data()
function now produces an object of classtna_data
, which can be directly used as an argument tobuild_model()
and other methods. - The
prepare_data()
function now supportsorder
when used together withtime
andactor
. - The
prepare_data()
function gains theunused_fn
argument oftidyr::pivot_wider()
to process any extra columns. The default is to keep all columns and use the first value. - Added the function
compare()
to comparetna
models and weight matrices. This function produces an object of classtna_comparison
which hasprint()
andplot()
methods. - Added the function
plot_mosaic()
which can be used to produce mosaic plots of transition counts for frequency-based transition network models and to contrast the state counts between groups. - Fixed an issue with
plot.tna_communities()
which now checks for the availability of a particular community detection method before plotting. - Made several arguments in the plot methods of the package accessible to the user.
tna 0.3.2
-
event2sequence()
has been renamed toprepare_data()
. The function is now also more general and can process more date formats. - Added a
method
argument tobootstrap()
. The new default option"stability"
implements a bootstrapping scheme where the edge weights are compared against a range of “consistent” weights (see the documentation for details). The old functionality can be accessed withmethod = "threshold"
. - Fixed an issue with
permutatation_test()
whenx
andy
had a differing number of columns. - Community detection methods can now be selected using the
methods
argument incommunities()
. - The
build_model()
function has gained the argumentcols
which can be used to subset the columns of the data forstslist
anddata.frame
inputs. - Removed all
verbose
arguments in favor ofoptions(rlib_message_verbosity = "quiet").
andoptions(rlib_warning_verbosity = "quiet")
.
tna 0.3.1
- Fixed an issue when checking the validity of
character
type arguments. - Improved the
bootstrap()
function to determine edge significance based on deviation from the observed value, rather than a fixed threshold. - Added a helper function
event2sequence()
to parse event data into sequence data.