plot.bootEGA: Plot method for 'bootEGA' objects

Description Usage Arguments Author(s) See Also Examples

View source: R/plot.bootEGA.R View source: R/methods.R

Description

Plots bootEGA typical structure using qgraph

Usage

1
2
## S3 method for class '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

Author(s)

Hudson F. Golino <hfg9s at virginia.edu>

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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)


## End(Not run)

# Plot bootEGA
plot(boot.wmt)

hfgolino/EGA documentation built on Aug. 22, 2019, 3:36 p.m.