I also run exactly the inverse of this model
--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/ceef1c8c-db5f-4b74-8536-a1eb27a91ae2%40googlegroups.com.
attached are my R codes
--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/9f544477-0341-4e57-8573-617f7b688d10%40googlegroups.com.
?reservedData$in <- Data$HSR
model1 <- ' in ~ CWP '
fit1 <- sem(model1,data=Data, fixed.x=FALSE)
model1 <- ' HSR ~ in*CWP '
fit1 <- sem(model1,data=Data, fixed.x=FALSE)
Error in lavParseModelString(model) :
lavaan ERROR: left hand side (lhs) of this formula:
in ~ CWP
contains either a reserved word (in R) or an illegal character: “in”
see ?reserved for a list of reserved words in R
please use a variable name that is not a reserved word in R
and use only characters, digits, or the dot symbol.--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/d431ff1d-0a3b-4638-a514-22ba3ff1151e%40googlegroups.com.
why not such error for the inverse model?
do I have to wait for the respond from GitHub?
--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/8f33fe8f-b3ba-436b-86a3-cf4101ff5c30%40googlegroups.com.
as I said you before, for the direct effects analysis I did not get the error, just for indirect effects I had.
how can I fix this error for indirect effects?