plots: S3Methods for Plotting

Description Usage Arguments Value Author(s)

Description

Plots for EGAnet objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## S3 method for class 'bootEGA'
plot(x, plot.type = c("GGally", "qgraph"), plot.args = list(), ...)

## S3 method for class 'CFA'
plot(x, layout = "spring", vsize = 6, ...)

## S3 method for class 'dynEGA'
plot(x, title = "", plot.type = c("GGally", "qgraph"), plot.args = list(), ...)

## S3 method for class 'dynEGA.Groups'
plot(x, ncol, nrow, title = "",
plot.type = c("GGally", "qgraph"), plot.args = list(),  ...)

## S3 method for class 'dynEGA.Individuals'
plot(x, title = "",  id = NULL,
plot.type = c("GGally", "qgraph"), plot.args = list(), ...)

## S3 method for class 'EGA'
plot(x, title = "", plot.type = c("GGally", "qgraph"), plot.args = list(), ...)

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

Arguments

x

Object from EGAnet package

plot.type

Character. Plot system to use. Current options are qgraph and GGally. Defaults to "GGally".

plot.args

List. A list of additional arguments for the network plot. For plot.type = "qgraph":

  • vsize Size of the nodes. Defaults to 6.

For plot.type = "GGally" (see ggnet2 for full list of arguments):

  • vsize Size of the nodes. Defaults to 6.

  • label.size Size of the labels. Defaults to 5.

  • alpha The level of transparency of the nodes, which might be a single value or a vector of values. Defaults to 0.7.

  • edge.alpha The level of transparency of the edges, which might be a single value or a vector of values. Defaults to 0.4.

  • legend.names A vector with names for each dimension

  • color.palette The color palette for the nodes. For custom colors, enter HEX codes for each dimension in a vector. See color_palette_EGA for more details and examples

...

Arguments passed on to

  • qgraph Functions: bootEGA, dynEGA, dynEGA.Groups, dynEGA.Individuals, EGA, and net.loads

  • semPaths Functions: CFA

vsize

Numeric. Size of vertices in CFA plots. Defaults to 6

layout

Character. Layout of plot (see semPaths). Defaults to "spring"

ncol

Numeric. Number of columns

nrow

Numeric. Number of rows

title

Character. Title of the plot. Defaults to ""

id

Numeric. An integer or character indicating the ID of the individual to plot

Value

Plots of EGAnet object

Author(s)

Hudson Golino <hfg9s at virginia.edu> and Alexander P. Christensen <alexpaulchristensen@gmail.com>


EGAnet documentation built on Feb. 17, 2021, 1:06 a.m.