Learn R Programming

EGAnet (version 0.9.6)

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

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

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 {
# Load data
wmt <- wmt2[,7:24]

# }
# NOT RUN {
#estimate EGA
ega.wmt <- EGA(data = wmt, plot.EGA = TRUE)

# }
# NOT RUN {
# Summary of EGA results
summary(ega.wmt)

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

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab