Learn R Programming

nFactors (version 2.3.1)

plotParallel: 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

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, x=eig)
 plotParallel(results)

Run the code above in your browser using DataLab