Uses PCA or exploratory factor analysis to propose empirical dimensions from
indicators retained by fiscal_triage(). This function discovers and
describes candidate groupings; it does not name dimensions, orient scores,
or construct a composite fiscal-health index.
Arguments
- data
A data frame containing the candidate indicators.
- triage
An optional
fiscal_triageobject. When supplied, only itsselected_for_dimensionsindicators enter the model and its standalone indicators are carried into the result.- variables
Optional character vector of indicators. Supply either
triageorvariables, not both.- method
Dimension-discovery method: principal components analysis (
"pca") or exploratory factor analysis ("efa").- nfactors
Number of dimensions. If
NULL, parallel analysis is used.- rotate
Rotation passed to
psych::principal()orpsych::fa().- fm
Factoring method used when
method = "efa".- missing
Missing-data rule.
"complete"uses complete rows;"median"replaces missing values with variable medians for this model.- primary_loading
Minimum absolute loading for assignment to a candidate dimension.
- cross_loading
Minimum absolute secondary loading used to flag a cross-loading indicator.
- min_indicators
Minimum assigned indicators for a proposed cluster to be treated as a multi-indicator dimension rather than a singleton.
- parallel_iter
Number of simulated datasets used by parallel analysis when
nfactorsisNULL.- seed
Optional seed for reproducible parallel analysis.