qgraph.efa {qgraph}R Documentation

qgraph.efa

Description

This function performs an Exploratory Factor Analysis (EFA) using the factanal (stats) function and sends the acquired factor loadings to qgraph.loadings.

Usage

qgraph.efa(dat,factors=1,...,rotation="promax",residuals=TRUE,
		factorCors=NULL,scores="regression",
		corMat=nrow(dat)==ncol(dat) && all(dat==t(dat)))

Arguments

dat

A correlation matrix, data matrix or a "factanal" object

factors

The number of factors to extract

rotation

rotation to be used. Can be "varimax", "promax" or "none"

residuals

Logical indicating if residuals should be plotted. Defaults to TRUE

factorCors

Logical indicating if correlations of factors should be extracted and plotted. Defaults to FALSE if a correlation matrix is used and TRUE if a data matrix is used.

...

arguments passed to qgraph.loadings

scores

Method used to extract scores in factanal

corMat

Logical indicating if the 'dat' object is a correlation matrix (TRUE) or data matrix (FALSE)

Author(s)

Sacha Epskamp (qgraph@sachaepskamp.com)

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.loadings

Examples


## Not run: 
##D data(big5)
##D data(big5groups)
##D 
##D qgraph.efa(big5,5,groups=big5groups,rotation="promax",minimum=0.2,cut=0.4,
##D            vsize=c(1,7),borders=FALSE,vTrans=200)
##D 
##D # Tree layout:
##D qgraph.efa(big5,5,groups=big5groups,rotation="promax",minimum=0.2,cut=0.4,
##D            vsize=c(1,7),borders=FALSE,layout="tree",width=20,filetype="R")
## End(Not run)


[Package qgraph version 1.2 Index]