exploratory_fa: Exploratory factor analysis based on the psych::fa function

View source: R/exploratory_fa.R

exploratory_faR Documentation

Exploratory factor analysis based on the psych::fa function

Description

Exploratory factor analysis based on the psych::fa function

Usage

exploratory_fa(..., factor_names = NULL, sort = TRUE, cut = 0.2, round = 2)

Arguments

...

Arguments passed to the psych::fa function.

factor_names

A character vector with names for the resulting factors. If not provided, default names are chosen.

sort

If TRUE, loadings are sorted.

cut

Loadings below cut will be omitted in the resulting data frame.

round

Number of digits to round loadings (based on the base::round function)

Value

A data.frame

Examples

ex_itrf  |>
  select_items(subscale %in% c('Int', 'Ext'))  |>
  exploratory_fa(nfactors = 2)

jazznbass/scaledic documentation built on July 19, 2023, 12:50 a.m.