fa_loadings: Format the loadings of a factor analysis.

Description Usage Arguments Value Author(s) Examples

Description

Format the loadings of a factor analysis.

Usage

1
2
3
4
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.

Author(s)

Dominique Makowski

Examples

1
2
3
4
5
6
7
require(neuropsychology)
require(psych)

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

fa_loadings(fa)$max

neuropsychology/neuropsychology.R documentation built on May 23, 2019, 4:27 p.m.