neuropsychology (version 0.5.0)

fa_loadings: Format the loadings of a factor analysis.

Description

Format the loadings of a factor analysis.

Usage

fa_loadings(fa, 
            treshold=0, 
            round=2, 
            labels=NA)

Arguments

fa
An object returned by the psych::fa function.
treshold
Remove loadings inferior to a treshold.
round
Round the final loadings matrix.
labels
Supply a additional column with e.g. item labels

Value

list with two elements.
full
The full loadings dataframe.
max
The max loading of each item.

Examples

Run this code
require(neuropsychology)
require(psych)

df <- select_numeric(personality)
fa <- psych::fa(df)

fa_loadings(fa)$max

Run the code above in your browser using DataCamp Workspace