In this tutorial, the author demonstrates how to use blavaan for structural equation models (SEMs) and model assessment. The tutorial focuses on Confirmatory Factor Analysis (CFA) as a special case of SEMs. The author provides an example of a two-factor model with six items and explains the various components of the model. The author then shows how to simulate data based on the model and fit the CFA model using both the lavaan and blavaan packages in R. The results of the model fit using both packages are compared. The blavaan package is highlighted as a wrapper for Bayesian estimation using Stan, with different default settings compared to lavaan.
https://mc-stan.org/users/documentation/case-studies/sem.html