parallel_analysis | R Documentation |
ggplot of parallel analysis from the psych package
parallel_analysis(
d,
fm = "pa",
factor_based = TRUE,
vcolors = c("firebrick", "royalblue"),
font_family = "sans",
...
)
d |
data to be analyzed |
fm |
factor method passed to psych::fa.parallel |
factor_based |
TRUE is factor-based and FALSE is principal component-based |
vcolors |
vector of 2 colors for lines |
font_family |
Name of font |
... |
parameters passed to psych::fa.parallel |
d <- psych::bfi[,1:25]
parallel_analysis(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.