Description Usage Arguments Value See Also Examples
View source: R/factor_analysis.R
factor_analysis_result
Provides easy access to factor analysis results
1 | factor_analysis_results(data, results = 1)
|
data |
list output from |
results |
factor analysis results to extract. Can use either results name or number (i.e. fa_scores or 2)::
|
Returns the one of the selected results:
fa_loadings
: numerical matrix with the original factor loadings
fa_scores
: numerical matrix with the row scores for each factor
fa_loadings_rotated
: numerical matrix with the varimax rotated factor loadings
fa_scores_rotated
: numerical matrix with the row scores for each varimax rotated factor
num_factors
: numeric vector identifying the number of factors
factor_analysis
for computing the factor analysis results
1 2 3 4 5 6 7 8 9 | # An efficient means for getting factor analysis results
x <- matrix(rnorm(200*3), ncol = 10)
N <- nrow(x)
p <- ncol(x)
x %>%
horns_curve() %>%
factor_analysis(x, hc_points = .) %>%
factor_analysis_results(fa_scores_rotated)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.