Learn R Programming

qgraph (version 0.5.0)

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

https://sites.google.com/site/qgraphproject

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