Learn R Programming

EFA.dimensions (version 0.1.6)

SCREE_PLOT: Scree plot of eigenvalues

Description

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.

Examples

Run this code
# NOT RUN {
SCREE_PLOT(data_Field, corkind='pearson')

SCREE_PLOT(data_RSE, corkind='polychoric')
# }

Run the code above in your browser using DataLab