compare.EGA.plots {EGAnet} R Documentation

## Visually Compares EGAnet plots

### Description

Organizes EGA plots for comparison. Ensures that nodes are placed in the same layout to maximize comparison. Community memberships are also homogenized across EGA outputs to enhance interpretation

### Usage

compare.EGA.plots(
...,
input_list = NULL,
base_plot = 1,
labels,
rows,
columns,
plot.type = c("GGally", "qgraph"),
plot.args = list()
)


### Arguments

 ... EGAnet objects input_list List. Bypasses ... argument in favor of using a list as an input base_plot Numeric. Plot to be used as the base for the configuration of the networks. Uses the number of the order in which the plots are input. Defaults to 1 or the first plot labels Character vector. Labels for each EGAnet object rows Numeric. Number of rows to spread plots across columns Numeric. Number of columns to spread plots down 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

### Value

Visual comparison of EGAnet objects

### Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>

### Examples

# obtain SAPA items
items <- psychTools::spi[,c(11:20)]



[Package EGAnet version 1.1.0 Index]