SEM Analysis in R

For my school project, I we needed to do a structural equation modelling (SEM) analysis. I played with it somehow. We ended up using an analysis done by my teammate, but I am still sharing it, in case it helps somebody.

The code can be found here.