
Creates Mplus code for alignment simulations and optionally runs it and returns its summaries back to R.
runAlignmentSim.RdCreates Mplus code for alignment simulations and optionally runs it and returns its summaries back to R.
Arguments
- file
Path to the fixed alignment Mplus output file.
- sim.samples
Vector of integers. Group sample sizes for simulation, the length of this vector also determines a number of simulation studies. Default is `c(100, 500, 1000)`. May take a substantial amount of time. Use NULL to avoid running simulations.
- sim.reps
A number of simulated datasets in each simulation. Default is 500. Use 0 to avoid running simulations.
- Mplus_com
Sometimes you don't have a direct access to Mplus, so this argument specifies what to send to a system command line. Default value is "mplus".
- path
Where all the .inp, .out, and .dat files should be stored?
- summaries
If the
extractAlignmentSimshould be run after all the Mplus work is done. Default is FALSE.