Learn R Programming

qgraph (version 1.0.5-2)

qgraph.loadings: qgraph.loadings

Description

This function is a wrapper function for qgraph designed to visualize factor loadings.

Usage

qgraph.loadings( fact, ...)

Arguments

fact
A matrix containing factor loadings (items per row, factors per column) or an "loadings" object
...
Additional optional arguments passed to qgraph and special arguments used in this function (described below).

References

Sacha Epskamp, Angelique O. J. Cramer, Lourens J. Waldorp, Verena D. Schmittmann, Denny Borsboom (2012). qgraph: Network Visualizations of Relationships in Psychometric Data. Journal of Statistical Software, 48(4), 1-18. URL http://www.jstatsoft.org/v48/i04/.

See Also

qgraph qgraph.pca qgraph.efa

Examples

Run this code
# Load big5 dataset:
data(big5)
data(big5groups)

big5efa <- factanal(big5,factors=5,rotation="promax",scores="regression")
big5loadings <- loadings(big5efa)
qgraph.loadings(big5loadings,groups=big5groups,rotation="promax",minimum=0.2,
				cut=0.4,vsize=c(1,15),borders=FALSE,asize=0.07,esize=4,vTrans=200)

# Tree layout:
qgraph.loadings(big5loadings,groups=big5groups,rotation="promax",minimum=0.2,
				cut=0.4,vsize=c(1,15),borders=FALSE,asize=0.07,esize=4,vTrans=200,
				layout="tree",width=20,filetype="R")

Run the code above in your browser using DataLab