Using the simstandard package
Purpose of simstandard | Generate Model-Based Multivariate Data | Comparison with lavaan::simulateData | Inspecting model matrices | Estimated Factor Scores | Adding factor scores to new data | Composite Scores | Return lavaan syntax with all parameters set free | Return lavaan syntax for a model with standardized variances specified | Return lavaan syntax from matrices | The measurement model | The structural model | Covariances | Using the matrix2lavaan function | Specifying models with data.frames instead of matrices | Return model-implied correlation matrices