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