Because lavaan cannot run the MC study directly, I use the simsem package (Pornprasertmanit, Miller, & Schoemann, 2012) for the simulations. This package is designed for MC studies of sample size and accepts lavaan model specification. All subsequent R syntax is for simsem functions.