Skip to contents

Renders the estimated network with cograph::splot() (a Suggested package); psychnet objects inherit from cograph_network for exactly this purpose. For the bootstrap / centrality / difference / stability diagnostics use the dedicated plot() methods for those result objects instead.

Usage

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

Arguments

x

A psychnet object.

...

Passed to cograph::splot().

Value

The value of cograph::splot(), invisibly.

Examples

S <- 0.4^abs(outer(1:6, 1:6, "-"))
fit <- ebic_glasso(cor_matrix = S, n = 300)
if (requireNamespace("cograph", quietly = TRUE)) {
  plot(fit)
}