Learn R Programming

nFactors (version 2.1)

plotParallel: PLOT A PARRALLEL ANALYSIS CLASS OBJECT

Description

Plot a scree plot adding information about a parallel analysis.

Usage

plotParallel(x, 
              eig     = NA, 
              legend = TRUE,
              ylab   = "Eigenvalue",
              xlab   = "Component",
              main   = "Parallel Analysis"
              )

Arguments

x
Result of a previous parallel analysis
eig
Eigenvalues
main
Title of the plot
xlab
Label of the x axis
ylab
Label of the y axis
legend
Logical indicator of the presence or not of a legend

Value

  • Nothing returned.

Details

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

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

Run this code
## 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)

Run the code above in your browser using DataLab