Learn R Programming

EGAnet (version 0.5)

plot.CFA: Plot Method for CFA

Description

Plots the CFA structure using semPlot

Usage

# S3 method for CFA
plot(x, layout = "spring", vsize = 6, ...)

Arguments

x

An CFA object

layout

Layout of plot (see semPaths). Defaults to "spring"

vsize

Size of objects in plot. Defaults to 6

...

Arguments passed to semPaths in semPlot

See Also

EGA to estimate the number of dimensions of an instrument using EGA and bootEGA to investigate the stability of EGA's estimation via bootstrap.

Examples

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

#estimate CFA
cfa.wmt <- CFA(ega.obj = ega.wmt, estimator = 'WLSMV', plot.CFA = FALSE, data = wmt2)

#plot CFA
plot(cfa.wmt)
# }

Run the code above in your browser using DataLab