runAlignmentSim | R Documentation |
Creates Mplus code for alignment simulations and optionally runs it and returns its summaries back to R.
runAlignmentSim(
file,
sim.samples = c(100, 500, 1000),
sim.reps = 500,
Mplus_com = "mplus",
path = getwd(),
summaries = TRUE,
run = TRUE,
processors = 2
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.