Learn R Programming

EGAnet (version 0.5)

dynamic.plot: Dynamic Plot method for EGA objects.

Description

Plots the EGA result using plotly

Usage

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

Arguments

ega.obj

An EGA object

title

Character. Title of the plot

vsize

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

opacity

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

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], plot.EGA = TRUE)

#summary of EGA results
summary(ega.wmt)

#dynamic plot
dynamic.plot(ega.wmt, title = "", vsize = 30, opacity = 0.4)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab