You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user might know lavaan syntax well and prefer that over specifying simsem templates. However, some features are available only when simsem templates are used. Therefore it would be useful to have a function to covert a lavaan model string to simsem template.
Here is a code snippet demonstrating how this could be implemented.
While I was implementing this, I noticed that the code produces the following error message
[1] "The regression matrix is not recursive. Simsem template does not support non-recursive matrix.
There are two issues: First, the model is recursive, so the recursiveness check produces a false positive. Second this could be more informative by giving the the matrix name (beta, I assume) as a part of the error message.
The text was updated successfully, but these errors were encountered:
My current codes do not provide any problems using your codes. I did not update the github repository for a while. I will make sure you have the latest one soon.
A user might know lavaan syntax well and prefer that over specifying simsem templates. However, some features are available only when simsem templates are used. Therefore it would be useful to have a function to covert a lavaan model string to simsem template.
Here is a code snippet demonstrating how this could be implemented.
While I was implementing this, I noticed that the code produces the following error message
There are two issues: First, the model is recursive, so the recursiveness check produces a false positive. Second this could be more informative by giving the the matrix name (beta, I assume) as a part of the error message.
The text was updated successfully, but these errors were encountered: