SCREE_PLOT {EFA.dimensions} | R Documentation |
Scree plot of eigenvalues
Description
Produces a scree plot of eigenvalues for raw data or for a correlation matrix.
Usage
SCREE_PLOT(data, corkind, Ncases, verbose)
Arguments
data |
An all-numeric dataframe where the rows are cases & the columns are the variables, or a correlation matrix with ones on the diagonal.The function internally determines whether the data are a correlation matrix. |
corkind |
The kind of correlation matrix to be used if data is not a correlation matrix. The options are 'pearson', 'kendall', 'spearman', 'gamma', and 'polychoric'. Required only if the entered data is not a correlation matrix. |
Ncases |
The number of cases for a correlation matrix. Required only if the entered data is a correlation matrix. |
verbose |
Should detailed results be displayed in console? TRUE (default) or FALSE |
Value
totvarexpl |
The eigenvalues and total variance explained |
Author(s)
Brian P. O'Connor
Examples
# Field's RAQ factor analysis data
SCREE_PLOT(data_Field, corkind='pearson')
# the Harman (1967) correlation matrix
SCREE_PLOT(data_Harman)
# Rosenberg Self-Esteem scale items
SCREE_PLOT(data_RSE, corkind='polychoric')
# NEO-PI-R scales
SCREE_PLOT(data_RSE)
[Package EFA.dimensions version 0.1.8.4 Index]