Skip to contents

Creates an Screeplot Including a Parallel Analysis (Horn), formatted according to APA 7th style. The original code was developed by John Sakaluk Check the original source: at his wordpress blog.

Usage

pretty_scree(parallel, fa, quant = 0.95, custom_optimal = NA)

Arguments

parallel

an parallel object returned by psych::fa.parallel

fa

either "pc" or "fa" factor methods are allowed for the parallel analysis

quant

default = .95 the quantile of the simulated values used to plot

custom_optimal

default = NA, e.g., setting a marked dashed line to the location determined by fa.parallel. Given 0 hides the line, all other value > 0 set the dashed line to a custom location (e.g., to indicate a prefered number of factors determined by VSS or MAP)

Value

APA Ready Plot of Parallel Analyssis

See also

Author

John Sakaluk (Wrapped in a Function and Advanced by Bjoern Buedenbender)