Skip to content

vankesteren/efast

Repository files navigation

EFAST

Exploratory Factor Analysis with Structured Residuals

DOI

Create and fit exploratory factor analysis with structured residuals (EFAST) models for data with feature covariance due to symmetry structure.


Installing efast

Run the following code to install efast with the tutorial vignette.

remotes::install_github("vankesteren/efast")

Quickstart

To 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)

Tutorial

An extended tutorial for using EFAST can be found on the GitHub pages site.

Support

Questions can be asked on the issues page. I'll try to answer them as soon as possible!