Learn R Programming

EGAnet (version 0.5)

plot.EGA: Plot method for EGA objects.

Description

Plots the EGA result using qgraph

Usage

# S3 method for EGA
plot(x, title = "", vsize = 6, ...)

Arguments

x

An EGA object

title

Character. Title of the plot

vsize

An integer indicating the size of the nodes. Default vsize = 6

...

Arguments passed to qgraph

See Also

EGA to estimate the number of dimensions of an instrument using EGA and CFA to verify the fit of the structure suggested by EGA using confirmatory factor analysis.

Examples

Run this code
# NOT RUN {
#estimate EGA
ega.wmt <- EGA(data = wmt2[,7:24], plot.EGA = TRUE)

#summary of EGA results
summary(ega.wmt)

#plot EGA network
plot(ega.wmt, vsize = 6)
# }

Run the code above in your browser using DataLab