> warning message;
> In vnames(FLAT,"ov.x", warn=TRUE)
> lavaan warning; model syntax contains variance/covariance/intercept
> formulas involving (an) exogenous variable(s)
Somewhere in your model syntax, you have specified either a variance, a
covariance or an intercept involving an exogenous (independent)
variable. By default, there is no reason to do so, because lavaan uses
the fixed.x=TRUE argument, implying that the exogenous variables are not
part of the model.
Simply removing these formulas from your syntax should work. To find out
which variables are exogenous, try:
lavNames( lavaanify(myModel), type="ov.x" )
The alternative is to use fixed.x=FALSE, which is mostly harmless, as
long as all your exogenous variables are continuous.
Yves.