Runs psych::fa() on selected item columns and returns loadings,
communalities, uniqueness, variance summaries, and simple item retention
flags. The psych package is optional and is only required when this
function is called.
Arguments
- data
A data.frame of responses.
- instrument
An
sframeobject.- items
Character vector of item IDs. When
NULL, scale items are used.- scales
Optional scale IDs used to select item columns.
- nfactors
Number of factors.
- extraction
Extraction method passed to
psych::fa().- rotation
Rotation method passed to
psych::fa().- min_loading
Minimum salient loading.
- cross_loading
Maximum secondary loading before a warning is raised.