Learn R Programming

graphicalVAR (version 0.3.4)

plot.graphicalVAR: Plot method for graphicalVAR objects

Description

Sends the estimated PCC and PDC networks to qgraph.

Usage

# S3 method for graphicalVAR
plot(x, include = c("PCC", "PDC"), repulsion = 1, 
                horizontal = TRUE, titles = TRUE, sameLayout = TRUE, 
                unweightedLayout = FALSE, ...)

Arguments

x

A graphicalVAR object

include

A vector of at most two containing "PCC" and "PDC" indicating which networks should be plotted and in what order.

repulsion

The repulsion argument used in qgraph

horizontal

Logical, should the networks be plotted horizontal or vertical?

titles

Logical, should titles be added to the plots?

sameLayout

Logical, should both networks be plotted in the same layout?

unweightedLayout

Logical, should the layout be based on the unweighted network instead of the weighted network?

...

Arguments sent to qgraph

Author

Sacha Epskamp <mail@sachaepskamp.com>