doEFA: Conduct a full EFA analysis

Description Usage Arguments Author(s) Examples

View source: R/RFunctions.R

Description

Conducts a full EFA analysis including assumption checks. Returns the results as a list, writes to .csv files, and prints to the console.

Usage

1
doEFA(data, name, nfactors = NULL, write_files = FALSE)

Arguments

data

Data.frame. Datafile to be factor analyzed.

name

Character. The name of the output (for files to be written etc.)

nfactors

Integer. Hypothesized number of factors; an EFA with this number of factors will be included in the results.

write_files

Logical. Whether to write results to .csv files or not.

Author(s)

Caspar J. van Lissa

Examples

1
efa_results <- doEFA(bfi[1:500, 1:25], "bfi", 2)

cjvanlissa/motley documentation built on Sept. 23, 2019, 7:39 p.m.