trying to reproduced synthax from Prof. Rossel, but "simulateData not found"

22 views
Skip to first unread message

Michael Filsecker

unread,
Apr 29, 2025, 9:31:11 AM4/29/25
to lav...@googlegroups.com
Hi everybody,

trying to replicate a code for a formative/reflexive model by Prof. Rossel, I got a warning when installing lavaan from github and an error when applying the function "simulateData".

Screenshot attached.

Any suggestions?🙏

Thank you!
Michael.
screenshot 1 Error.png
screenshot 1 warning.png

Felipe Vieira

unread,
Apr 29, 2025, 9:45:09 AM4/29/25
to lav...@googlegroups.com
I guess you forgot to load(?): library(lavaan)

--
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 visit https://groups.google.com/d/msgid/lavaan/CACXLW89sT%3DsSysZ6LWvpVxyJCtiy%3Du0ubrk5qww3rqZyRF8T%2Bg%40mail.gmail.com.

Michael Filsecker

unread,
Apr 29, 2025, 9:52:28 AM4/29/25
to lav...@googlegroups.com
thank you Felipe...not sure, but I just closed the whole thing and started again and...it worked.
BTW, this function "simulateData", what is the idea behind it? my first guess is that it produced data that would perfectly fit the model behind it, right?
Michael.

Reply all
Reply to author
Forward
0 new messages