Learn R Programming

EGAnet (version 0.7)

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

# Estimate 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)

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

# }

Run the code above in your browser using DataLab