mod <- fungible::simFA(Seed = 42)
set.seed(42)
# Simulate a population correlation matrix using the TKL method with target
# RMSEA and CFI values specified.
noisemaker(mod, method = "TKL",
target_rmsea = 0.05,
target_cfi = 0.95,
tkl_ctrl = list(optim_type = "optim"))
# Simulate a population correlation matrix using the CB method with target
# RMSEA value specified.
noisemaker(mod, method = "CB",
target_rmsea = 0.05)
# Simulation a population correlation matrix using the WB method with target
# RMSEA value specified.
noisemaker(mod,
method = "WB",
target_rmsea = 0.05)
Run the code above in your browser using DataLab