mod <- fungible::simFA(Model = list(NFac = 3),
Seed = 42)
set.seed(42)
Omega <- mod$Rpop
Sigma <- noisemaker(
mod = mod,
method = "CB",
target_rmsea = 0.05
)$Sigma
rmsea(Sigma, Omega, k = 3)
Run the code above in your browser using DataLab