Error in file(file, "r") : cannot open the connection In addition: Warning message: In file(file, "r") : cannot open file
The file is read properly as I have run codes other than the CFA() successfully. I am getting this error in the cfa sunction since yesterday, please help !
Thanks in advance !
Error in file(file, "r") : cannot open the connection
> model1<-'PowerT=~DP3+DP4+DP5 + ObT=~DOR2+DOR3+DOR5 + KnowT=~DK1+DK2+DK3+DK4 + PowerT~~NA*PowerT + KnowT~~NA*KnowT + ObT~~NA*ObT' > fit<-cfa(model1,data=mydata1)
Error in file(file, "r") : cannot open the connection
In addition: Warning message: In file(file, "r") : cannot open file 'PowerT=~DP3+DP4+DP5 ObT=~DOR2+DOR3+DOR5 KnowT=~DK1+DK2+DK3+DK4 PowerT~~NA*PowerT KnowT~~NA*KnowT ObT~~NA*ObT': Invalid argument
In this model, I had to fix the values of latent variables to zero. Please let me know also if this is the correct code for the same.
Thanks in advance,
Mahima
--
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/7a9OeZFYQrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+unsubscribe@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at https://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.
Attaching package: ‘sem’ The following objects are masked from ‘package:lavaan’: cfa, sem
Is this relevant ?
Thanks,
Mahima
Thanks Yves ! So what command can I use to get model summary if I use the lavaan command ??
summary()