Produces a scree plot of eigenvalues for raw data or for a correlation matrix.
Usage
SCREE_PLOT(data, corkind)
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', and 'polychoric'. Required
only if the entered data is not a correlation matrix.