Learn R Programming

EGAnet (version 0.5)

plot.bootEGA: Plot method for bootEGA objects.

Description

Plots bootEGA typical structure using qgraph

Usage

# S3 method for bootEGA
plot(x, vsize = 6, ...)

Arguments

x

A bootEGA object

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 {
# }
# NOT RUN {
#estimate EGA
ega.wmt <- EGA(data = wmt2[,7:24], model = "glasso")

#estimtae bootEGA
boot.wmt <- bootEGA(data = wmt2[,7:24], n = 10, typicalStructure = TRUE,
plot.typicalStructure = TRUE, model = "GGM",
type = "parametric", ncores = 4, confirm = ega.wmt$wc)

#plot bootEGA
plot.bootEGA(boot.wmt)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab