Simulation Replication
Usage
Sim(
taskid,
repid,
output_folder,
overwrite,
integrity,
seed,
mplus_bin,
starts,
stiterations,
stscale,
max_iter
)
Arguments
- taskid
Positive integer. Task ID.
- repid
Positive integer. Replication ID.
- output_folder
Character string. Output folder.
- overwrite
Logical. Overwrite existing output in
output_folder
.- integrity
Logical. If
integrity = TRUE
, check for the output file integrity whenoverwrite = FALSE
.- seed
Integer. Random seed.
- mplus_bin
Character string. Path to Mplus binary. If
mplus_bin = NULL
, the function will try to find the appropriate binary.- starts
Vector of positive integer of length two. Number of initial stage starts and number of final stage optimizations.
- stiterations
Positive integer. Number of initial stage iterations.
- stscale
Positive integer. Random start scale.
- max_iter
Positive integer. Maximum number of reruns.