Description Usage Arguments Value Examples
View source: R/efasummariser.R
This function produces a dataframe with loadings and communalities for EFA produced using the psych package. It can handle multiple EFA results from different samples, binding them together. This function should be used either with a single EFA or with EFAs on the same variables but with different samples.
1 | efasummariser(threshold = 0, ...)
|
threshold |
The threshold cutoff for showing factor loadings. |
... |
Dataframe of EFA loadings and communalities from all input EFAs |
A dataframe of EFA loadings and communalities with loadings lower than the threshold hidden
1 2 3 4 5 6 7 8 9 10 11 12 13 | setosa <- psych::fa(iris %>%
filter(Species == "setosa") %>%
select_if(is.numeric),
fm = "gls"
)
versicolor <- psych::fa(iris %>%
filter(Species == "versicolor") %>%
select_if(is.numeric),
fm = "gls"
)
efa_loadings(threshold = 0.3, setosa, versicolor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.