Exploratory Factor Analysis with Structured Residuals
Create and fit exploratory factor analysis with structured residuals (EFAST) models for data with feature covariance due to symmetry structure.
Run the following code to install
efast with the tutorial vignette.
To quickly fit an EFAST model and see the structure of the data required, you can use simulated data from the package:
library(efast) simdat <- simulate_efast() fit_sim <- efast_hemi( data = simdat, M = 4, lh_idx = 1:17, rh_idx = 18:34 ) efast_loadings(fit_sim, symmetry = TRUE) lateralization(fit_sim)
An extended tutorial for using EFAST can be found on the GitHub pages site.
Questions can be asked on the
issues page. I'll try to answer them as soon as possible!