There are 5 total R files to simulate the data.
1. The "Run.R" file will actually run the simulations for the non-missing data condition *and* the missing data conditions. This file will use (i.e., "source") the two files: "SimFunctions_Missing.R" and "SimFunctions.R". Depending on whether you would like to simulate missing data or not will depend on which source code you use in the "Run.R" file.
2. The "SimIncreasingVariance.R" file will simulate data with increasing within-subject variance;
3. The "SimIncreasingVariance_Missing.R" file will also simulate data with increasing within-subject variance but will also impose missing data completely randomly (MCAR).