The converted model reproduces the lavaan specification using the LISREL-style model matrices that lavaan exposes through lavInspect(fit, "free") and lavInspect(fit, "est"): factor loadings (lambda), the latent variance--covariance matrix (sigma_zeta, lavaan's psi), the residual variance--covariance matrix (sigma_epsilon, lavaan's theta), structural regressions (beta), observed intercepts (nu) and latent intercepts (nu_eta, lavaan's alpha). Observed variables that appear as structural (regression) variables are carried as phantom latent columns; any latent whose name clashes with an observed variable is renamed to eta_<name>. Equality constraints are detected via shared parameter labels and simple == rows and mapped onto shared psychonetrics parameter (par) indices.
The following are guaranteed to match lavaan (for a standard ML fit, see the caveats below): the parameter estimates, the (expected-information) standard errors, the chi-square test statistic and degrees of freedom, the number of free parameters, and the log-likelihood.
Caveats. (1) If the lavaan model has no meanstructure, psychonetrics adds a saturated mean structure (free nu, nu_eta fixed to 0): estimates, standard errors, chi-square and df still match, but the log-likelihood differs by a constant; a warning is issued. (2) With fixed.x = TRUE and exogenous covariates, psychonetrics treats the covariates as random (endogenous): estimates, standard errors and chi-square match, but df-based fit measures and the log-likelihood do not (lavaan conditions on the covariates); a warning is issued. (3) If lavaan used likelihood = "wishart" (the \(n-1\) normalization), psychonetrics uses the normal (\(n\)) likelihood, so the log-likelihood differs; a warning is issued. (4) Robust standard errors and robust/scaled test statistics are not transferred; the model is converted as plain ML, with a warning. (5) For FIML, psychonetrics uses expected information for standard errors, whereas lavaan defaults to observed information, so FIML standard errors may differ slightly even though the log-likelihood matches.
Unsupported. The following lavaan features cannot be converted and raise an informative error: two-level / multilevel models (cluster=, level:), defined parameters (:=), inequality constraints (<, >), general (non-simple) equality constraints, formative indicators (<~), conditional.x = TRUE, and categorical (ordinal) endogenous variables.