plot_model: Plot a Transition Network Model from a Matrix of Edge Weights

plot_modelR Documentation

Plot a Transition Network Model from a Matrix of Edge Weights

Description

Plot a Transition Network Model from a Matrix of Edge Weights

Usage

plot_model(x, labels, colors, ...)

Arguments

x

A square matrix of edge weights.

labels

Optional character vector of node labels.

colors

An optional character vector of node colors to use.

...

Additional arguments passed to cograph::splot() or cograph::plot_htna().

Value

See plot.tna().

Examples

m <- matrix(rexp(25), 5, 5)
plot_model(m)


tna documentation built on Nov. 17, 2026, 1:06 a.m.