Simulation Replication
Usage
Sim(
taskid,
repid,
output_folder,
overwrite,
integrity,
seed,
data,
naive,
metavar,
mplus,
chains,
iter,
fscores,
plot
)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.
- data
Logical. Simulate data.
- naive
Logical. If
naive = TRUE, fit the naive approach.- metavar
Logical. If
metavar = TRUE, fit the model using themetaDynpackage.- mplus
Logical. If
mplus = TRUE, fit the model using DSEM inMplus.- chains
Integer. Number of chains.
- iter
Integer. Number of iterations.
- fscores
Integer. Number of iterations for factor scores.
- plot
Logical. If
plot = TRUE, addPLOT: TYPE = PLOT3;toMplusinput file.