View source: R/rename_factors.R
| rename_factors | R Documentation |
Replaces the default f1..fK factor labels everywhere they appear on
the fit: posterior-mean and credible-interval loading matrices, the
factor-score matrices, the factor-characteristics table, the
correlation matrix, the flagged matrix, the distinguishing /
consensus table column names, and the factor dimension of the raw
Lambda_draws / F_draws arrays.
rename_factors(fit, new_names)
fit |
A |
new_names |
Character vector of length |
The input fit with every factor label replaced.
fit <- demo_fit(N = 6, J = 10, K = 3, Td = 50, seed = 1)
fit <- rename_factors(fit, c("tradition", "innovation", "caution"))
colnames(fit$loa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.