Description Usage Arguments Examples
Given a fitted objects from lavaan, this functions returns the number of free parameter. Note, this function will give incorrect results when intercepts are estimated and should be not used.
1 | free_params(x)
|
x |
A lavaan fitted object |
1 2 3 4 5 6 | iq.cfa <- '
verb =~ info + comp + arith + simil + digit + vocab
perf =~ pictcomp + parang + block + object + coding
'
fit <- cfa(iq.cfa, data = wiscsem)
free_params(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.