Makes a factor diagram plot. Heavily based on the fa.diagram function of the psych
package.
make_factor_diagram(
emc = NULL,
stage = "sample",
loadings = NULL,
standardize = TRUE,
simple = FALSE,
only_cred = FALSE,
cut = 0,
nice_names = NULL,
factor_names = NULL,
sort = TRUE,
adj = 1,
main = NULL,
cex = NULL
)
An emc object
Character. The stage from which to take the samples
An array of loadings. Can be alternatively supplied if emc is not supplied
Boolean. Whether to standardize the loadings
Boolean. Whether the factor diagram should be simplified for visual clarity.
Boolean. Whether to only plot the credible loadings
Numeric. Mean loadings beneath this number will be excluded.
Character vector. Alternative names to give the parameters
Character vector. Names to give the different factors
Boolean. Whether to sort the paramaters before plotting for visual clarity.
Integer. Adjust to adjust loading values positions in the diagram if illegible.
Character vector. Title of the plot
Integer. Font size