Do factor-analysis, logging warnings and errors

fa_failsafe(
  ...,
  n.repeatOnWarning = 50,
  warningTolerance = 2,
  silentRepeatOnWarning = FALSE,
  showWarnings = TRUE
)

Arguments

...

The arguments for fa in psych.

n.repeatOnWarning

How often to repeat on warnings (in the hopes of getting a run without warnings).

warningTolerance

How many warnings are accepted.

silentRepeatOnWarning

Whether to be chatty or silent when repeating after warnings.

showWarnings

Whether to show the warnings.

Value

A list with the fa object and a warnings and an errors object.