| genModelString | R Documentation |
Creates lavaan model strings from model matrices.
genModelString( Lambda = NULL, Phi = NULL, Beta = NULL, Psi = NULL, Theta = NULL, tau = NULL, Alpha = NULL, useReferenceIndicator = !is.null(Beta), metricInvariance = NULL, nGroups = 1 )
Lambda |
Factor loading matrix. |
Phi |
Factor correlation (or covariance) matrix. If |
Beta |
Regression slopes between latent variables (all-y notation). |
Psi |
Variance-covariance matrix of latent residuals when |
Theta |
Variance-covariance matrix of manifest residuals. If |
tau |
Intercepts. If |
Alpha |
Factor means. If |
useReferenceIndicator |
Whether to identify factors in accompanying model strings by a reference indicator ( |
metricInvariance |
A list containing the factor indices for which the accompanying model strings should apply metric invariance labels, e.g. |
nGroups |
(defaults to 1) If > 1 and |
A list containing the following lavaan model strings:
|
population model |
|
"true" analysis model freely estimating all non-zero parameters. |
|
similar to |