Output from the psych package, can be either fa or principal with at least two dimensions
cutoff
Desired cutoff below which loadings are omitted defaults to .40
dbl_dist
Desired distance between highest and second highest loading for an item to remove double loadings, defaults to .20
key_file
Optional: Either a .csv or .xlsx file with at least two columns:
1 labeled item containing the item labels as in the data frame,
2 a column labeled wording containing the item wording.
cleaned
If true (default), only the cleaned solution with a message for descriptive stats are returned.
If false the function returns a list of data frames one cleaned and one showing all in-between steps
Value
clean This column contains the assignment after removing NAs and double loadings
dir This column contains the direction (positive or negative) of the highest loading.