plot.tna | R Documentation |
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.
## S3 method for class 'tna'
plot(
x,
labels,
colors,
pie,
cut,
show_pruned = TRUE,
pruned_edge_color = "pink",
edge.color = NA,
edge.labels = TRUE,
edge.label.position = 0.65,
layout = "circle",
layout_args = list(),
mar = rep(5, 4),
theme = "colorblind",
...
)
x |
A |
labels |
See |
colors |
See |
pie |
See |
cut |
Edge color and width emphasis cutoff value. The default is
the median of the edge weights. See |
show_pruned |
A |
pruned_edge_color |
A |
edge.color |
See |
edge.labels |
See |
edge.label.position |
See |
layout |
One of the following:
|
layout_args |
A |
mar |
See |
theme |
See |
... |
Additional arguments passed to |
A qgraph
plot of the transition network.
Basic functions
build_model()
,
hist.group_tna()
,
hist.tna()
,
import_data()
,
plot.group_tna()
,
plot_frequencies()
,
plot_frequencies.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()
,
simulate.tna()
,
summary.group_tna()
,
summary.tna()
,
tna-package
model <- tna(group_regulation)
plot(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.