Description Usage Arguments Details Value Examples
Function that takes a lavaan model with standardized parameters and returns a list with model characteristics
1 | sim_standardized_matrices(m, max_iterations = 100, composite_threshold = NULL)
|
m |
Structural model represented by lavaan syntax |
max_iterations |
Maximum number of iterations before the algorithm fails |
composite_threshold |
Loadings with absolute values less than this threshold will not be counted as composite indicators |
This function supports the '~' operator for regressions, the '~~' for covariances (but not variances), and the '=~' latent variable loadings. It does not support intercepts (e.g,. 'y ~ 1'), thresholds, scaling factors, formative factors, or equality constraints.
list of path and covariance coefficients
1 2 3 4 5 | library(simstandard)
# lavaan model
m = "Latent_1 =~ 0.8 * Ob_1 + 0.7 * Ob_2 + 0.4 * Ob_3"
sim_standardized_matrices(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.