get_model_implied_correlations | R Documentation |
Function that takes a lavaan model with standardized parameters and returns a model-implied correlation matrix
get_model_implied_correlations(
m,
observed = TRUE,
latent = FALSE,
errors = FALSE,
factor_scores = FALSE,
composites = FALSE,
...
)
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
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.