methods.section {EGAnet} | R Documentation |
EGAnet
ObjectsThis function accepts EGA
objects
and generates a Methods section for your analysis. The output is
an HTML page containing the descriptions of the methods and parameters
as well as a Reference section for appropriate citation.
methods.section(
...,
stats = c("net.loads", "net.scores", "dimensionStability", "itemStability")
)
... |
|
stats |
Methods section for statistics in
|
Automated HTML Methods section in your default browser
# Estimate EGA
## plot.type = "qqraph" used for CRAN checks
## plot.type = "GGally" is the default
ega.wmt <- EGA(data = wmt2[,7:24], plot.type = "qgraph")
# EGA Methods section
if(interactive()){
methods.section(ega.wmt)
}
# Estimate standardized network loadings
wmt.loads <- net.loads(ega.wmt)$std
# EGA Methods section with network loadings
if(interactive()){
methods.section(ega.wmt, stats = "net.loads")
}
## Not run: # bootEGA example
## plot.type = "qqraph" used for CRAN checks
## plot.type = "GGally" is the default
boot.wmt <- bootEGA(data = wmt2[,7:24], iter = 500, plot.type = "qgraph",
type = "parametric", ncores = 2)
## End(Not run)
# EGA and bootEGA Methods section
if(interactive()){
methods.section(ega.wmt, boot.wmt)
}
# Estimate structural consistency
sc.wmt <- dimensionStability(boot.wmt)
# EGA and bootEGA Methods section with structural consistency and item stability
if(interactive()){
methods.section(boot.wmt, stats = c("dimensionStability", "itemStability"))
}
# EGA with network loadings and
# bootEGA Methods section with structural consistency and item stability
if(interactive()){
methods.section(ega.wmt, boot.wmt, stats = c("net.loads", "dimensionStability", "itemStability"))
}