plotParallel {nFactors}R Documentation

Plot a Parallel Analysis Class Object

Description

Plot a scree plot adding information about a parallel analysis.

Usage

 plotParallel(parallel,
              eig    = NA,
              x      = eig,
              model  = "components",
              legend = TRUE,
              ylab   = "Eigenvalues",
              xlab   = "Components",
              main   = "Parallel Analysis",
              ...
              )
 

Arguments

parallel numeric: vector of the result of a previous parallel analysis
eig depreciated parameter: Eigenvalues to analyse (not used if x is used, recommended)
x numeric: a vector of eigenvalues, a matrix of correlations or of covariances or a data.frame of data
model character: "components" or "factors"
main character: title of the plot
xlab character: label of the x axis
ylab character: label of the y axis
legend logical: indicator of the presence or not of a legend
... variable: additionnal parameters to give to the cor or cov functions

Details

If eig is FALSE the plot shows only the parallel analysis without eigenvalues.

Value

Nothing returned.

Author(s)

Gilles Raiche
Centre sur les Applications des Modeles de Reponses aux Items (CAMRI)
Universite du Quebec a Montreal
raiche.gilles@uqam.ca, http://www.er.uqam.ca/nobel/r17165/

References

Raiche, G., Riopel, M. and Blais, J.-G. (2006). Non graphical solutions for the Cattell's scree test. Paper presented at the International Annual meeting of the Psychometric Society, Montreal. [http://www.er.uqam.ca/nobel/r17165/RECHERCHE/COMMUNICATIONS/]

See Also

plotuScree, nScree, plotnScree, parallel

Examples

## SIMPLE EXAMPLE OF A PARALLEL ANALYSIS
## OF A CORRELATION MATRIX WITH ITS PLOT
 data(dFactors)
 eig      <- dFactors$Raiche$eigenvalues
 subject  <- dFactors$Raiche$nsubjects
 var      <- length(eig)
 rep      <- 100
 cent     <- 0.95
 results  <- parallel(subject,var,rep,cent)

 results

## PARALLEL ANALYSIS SCREE PLOT
 plotParallel(results, x=eig)
 plotParallel(results)

 

[Package nFactors version 2.3.1 Index]