View source: R/my_loadings_sorter.R
my_loadings_sorter | R Documentation |
Sorts items' loadings based on their loadings from exploratory factor
analysis fit with the psych::fa()
function.
my_loadings_sorter(
fit,
sort_type = "largest_loading",
nchar = 40,
return_blocks = FALSE,
showlatentcor = TRUE,
itemLabels = NULL
)
fit |
the fitted object from the |
sort_type |
how to sort the loadings. One of:
|
nchar |
the limit for the number of characters to display for the item label |
return_blocks |
whether to return the block number that corresponds to each item |
showlatentcor |
whether or not to print the intercorrelation among the latent factors (only possible for models with an oblique rotation) |
itemLabels |
a vector of the item labels |
Adapted from code by Philipp Doebler (doebler@statistik.tu-dortmund.de).
Sorted loadings from exploratory factor analysis model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.