dynamic.plot: Dynamic Plot method for 'EGA' objects

Description Usage Arguments Author(s) See Also Examples

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

Description

Plots the EGA result using plotly

Usage

1
dynamic.plot(ega.obj, title = "", vsize = 30, opacity = 0.4)

Arguments

ega.obj

An EGA object

title

Character. Title of the plot

vsize

Numeric. An integer indicating the size of the nodes. Default vsize = 30

opacity

Numeric. A numeric value indicating the opacity of the edges. Default opacity = 0.4

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
15
16
17
18
19
# Load data
wmt <- wmt2[,7:24]

## Not run: 
#estimate EGA
ega.wmt <- EGA(data = wmt, plot.EGA = TRUE)


## End(Not run)

# Summary of EGA results
summary(ega.wmt)

## Not run: 
# Dynamic plot
dynamic.plot(ega.wmt, title = "", vsize = 30, opacity = 0.4)


## End(Not run)

hfgolino/EGA documentation built on Aug. 16, 2019, 2:50 a.m.