Scree plot of eigenvalues
Produces a scree plot of eigenvalues for raw data or for a correlation matrix.
SCREE_PLOT(data, corkind, Ncases, verbose)
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 |
eigenvar |
The eigenvalues |
Brian P. O'Connor
# 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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.