Description Usage Arguments Value Examples
View source: R/convenienceFunctions.R
Convenience function to determine the degrees of freedom of a given model provided as lavaan model string. This requires the lavaan package.
1 | semPower.getDf(lavModel)
|
lavModel |
the lavaan model string |
df
1 2 3 4 5 6 7 8 9 10 | ## Not run:
lavModel <- '
f1 =~ x1 + x2 + x3 + x4
f2 =~ x5 + x6 + x7 + x8
f3 =~ y1 + y2 + y3
f3 ~ f1 + f2
'
semPower.getDf(lavModel)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.