Description Usage Arguments Value Examples
Function that takes a lavaan model with standardized parameters and returns a model-implied correlation matrix
1 2 3 4 5 6 7 8 9 |
m |
Structural model represented by lavaan syntax or output of sim_standardized_matrices function. |
observed |
Include observed variables |
latent |
Include latent variables |
errors |
Include observed error and latent disturbances variables |
factor_scores |
Include factor score variables |
composites |
Include composite variables |
... |
parameters passed to the 'sim_standardized_matrices' function |
A correlation matrix
1 2 3 4 5 | library(simstandard)
# lavaan model
m = "Latent_1 =~ 0.8 * Ob_1 + 0.7 * Ob_2 + 0.4 * Ob_3"
get_model_implied_correlations(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.