This is the first of two video on CFA using Lavaan. In this video, I provide various demonstrations of how to carry out confirmatory factor analysis in R using the 'cfa' function in the Lavaan package. I also demonstrate how to obtain path diagrams using the 'semPaths' function associated with the semPlot package. The video is somewhat long, but the aim was to be comprehensive and to provide a set of functions that you can easily use to carry out various analyses using R. (The second video in this series can be found here: https://youtu.be/JHwPyC5k15k)
You can download a copy of the Notepad containing the syntax and other information I refer to in the video here: https://drive.google.com/open?id=1qx-CSqr3l2kPZBi7BGdeU1wfVnCrvFe5
You can download a copy of the datasets here (https://drive.google.com/open?id=1tTx3R97s4-FxlkE_bCNWrW2OeSnh7BiN) and here (https://drive.google.com/open?id=1VjtiMnVYgfcnzzMQl4jIiIMC-CuIaYe6).
Go here (https://www.jstatsoft.org/index.php/jss/article/view/v048i02/v48i02.pdf) more additional details on Lavaan.