This function plots a transition network analysis (TNA) model using
the qgraph
package. The nodes in the graph represent states, with node
sizes corresponding to initial state probabilities. Edge labels represent
the edge weights of the network.
Arguments
- x
A
tna
object fromtna()
.- labels
See
qgraph::qgraph()
.- colors
See
qgraph::qgraph()
.- pie
See
qgraph::qgraph()
.- show_pruned
A
logical
value indicating if pruned edges removed byprune()
should be shown in the plot. The default isTRUE
, and the edges are drawn as dashed with a different color to distinguish them.- pruned_edge_color
A
character
string for the color to use for pruned edges whenshow_pruned = TRUE
. The default is"red"
.- edge.color
See
qgraph::qgraph()
.- edge.labels
See
qgraph::qgraph()
.- edge.label.position
See
qgraph::qgraph()
.- layout
One of the following:
A
character
string describing aqgraph
layout.A
matrix
of node positions to use, with a row for each node andx
andy
columns for the node positions.A layout function from
igraph
.
- layout_args
A
list
of arguments to pass to theigraph
layout function whenlayout
is a function.- mar
See
qgraph::qgraph()
.- theme
See
qgraph::qgraph()
.- ...
Additional arguments passed to
qgraph::qgraph()
.
See also
Basic functions
build_model()
,
hist.group_tna()
,
hist.tna()
,
plot.group_tna()
,
plot_mosaic()
,
plot_mosaic.group_tna()
,
plot_mosaic.tna_data()
,
prepare_data()
,
print.group_tna()
,
print.summary.group_tna()
,
print.summary.tna()
,
print.tna()
,
print.tna_data()
,
summary.group_tna()
,
summary.tna()
,
tna-package