Plots the difference network between model x
and model y
. The edges are
computed from subtracting the two models. The pie chart is the difference in
initial probabilities between model x
and model y
. Green color indicates
that x
is greater than y
and red indicates otherwise.
Usage
plot_compare(x, ...)
# S3 method for class 'tna'
plot_compare(x, y, theme = NULL, palette = "colorblind", ...)
Arguments
- x
A
tna
object. It will be the principal model.- ...
Additional arguments passed to
qgraph::qgraph()
.- y
A
tna
object. It will be the model subtracted from the principal model.- theme
See
qgraph::qgraph()
.- palette
See
qgraph::qgraph()
.
See also
Other comparison:
compare()
,
compare.group_tna()
,
plot.tna_comparison()
,
plot_compare.group_tna()
,
print.tna_comparison()