This function is currently orphaned, but we keep it just in case.
This function transforms a
lavaan model string into a model string that works reliably
when both equality constrains and value constrains are imposed on the same parameters.
lavaan cannot reliably handle this case, e. g.,
"a == b \\n a == 0" will not always work.
The solution is to drop the equality constraint and rather apply
the value constraint on each equality constrained parameter, e. g.
"a == 0 \n b == 0" will work.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.