I also would like to use the factors scores using lavPredict for my dependent variable but got confused about the Note regarding the prediction of dependent variables.
"The predict() function calls the lavPredict() function with its default options.If there are no latent variables in the model, type = "ov" will simply return the values of the observed variables. Note that this function can not be used to ‘predict’ values of dependent vari- ables, given the values of independent values (in the regression sense). In other words, the structural component is completely ignored (for now)."
Can I use the factor scores which lavPredict gives me for my dependent variable (factor with 5 items) to do a ols later on?
install.packages("lavaan", repos = "http://www.da.ugent.be", type = "source")
?plausibleValues # see examples