powered by
Plot a Transition Network Model from a Matrix of Edge Weights
plot_model( x, labels, colors, edge.labels = TRUE, edge.label.position = 0.65, layout = "circle", layout_args = list(), mar = rep(5, 4), theme = "colorblind", ... )
See plot.tna().
plot.tna()
A square matrix of edge weights.
matrix
See qgraph::qgraph().
qgraph::qgraph()
One of the following:
A character string describing a qgraph layout.
character
qgraph
A matrix of node positions to use, with a row for each node and x and y columns for the node positions.
x
y
A layout function from igraph.
igraph
A list of arguments to pass to the igraph layout function when layout is a function.
list
layout
Additional arguments passed to qgraph::qgraph().
m <- matrix(rexp(25), 5, 5) plot_model(m)
Run the code above in your browser using DataLab