Description Usage Arguments Value Examples
Remove fixed parameters from a lavaan model
1 | fixed2free(m)
|
m |
Structural model represented by lavaan syntax |
character string representing lavaan model
1 2 3 4 5 6 7 8 9 | library(simstandard)
# lavaan model with fixed parameters
m = "
Latent_1 =~ 0.9 * Ob_11 + 0.8 * Ob_12 + 0.7 * Ob_13
Latent_2 =~ 0.9 * Ob_21 + 0.6 * Ob_22 + 0.4 * Ob_23
"
# Same model, but with fixed parameters removed.
m_free <- fixed2free(m)
cat(m_free)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.