Learn R Programming

nFactors (version 2.3.3.1)

plotuScree: Plot of the Usual Cattell's Scree Test

Description

uScree plot a usual scree test of the eigenvalues of a correlation matrix.

Usage

plotuScree(Eigenvalue,
            x      = Eigenvalue,
            model  = "components",
            ylab   = "Eigenvalues",
            xlab   = "Components",
            main   = "Scree Plot",
            ...
            )

Arguments

Eigenvalue

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 (default is Scree Plot)

xlab

character: label of the x axis (default is Component)

ylab

character: label of the y axis (default is Eigenvalue)

...

variable: additionnal parameters to give to the eigenComputes function

Value

Nothing returned with this function.

References

Cattell, R. B. (1966). The scree test for the number of factors. Multivariate Behavioral Research, 1, 245-276.

See Also

nScree, parallel

Examples

Run this code
# NOT RUN {
## SCREE PLOT
 data(dFactors)
 attach(dFactors)
 eig = Cliff1$eigenvalues
 plotuScree(x=eig)
 
# }

Run the code above in your browser using DataLab