Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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, 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

eigenvar

The eigenvalues

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)

EFA.dimensions

Exploratory Factor Analysis Functions for Assessing Dimensionality

v0.1.7.2
GPL (>= 2)
Authors
Brian P. O'Connor
Initial release
2021-02-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.