Skip to contents

Plot the Significant Differences from a Permutation Test

Usage

# S3 method for class 'tna_permutation'
plot(x, colors, ...)

Arguments

x

A tna_permutation object.

colors

See qgraph::qgraph().

...

Arguments passed to plot_model().

Value

A qgraph object containing only the significant edges according to the permutation test.

Examples

model_x <- tna(group_regulation[1:200, ])
model_y <- tna(group_regulation[1001:1200, ])
# Small number of iterations for CRAN
perm <- permutation_test(model_x, model_y, iter = 20)
plot(perm)