internal function. Translates a vector of objects of class lavaan to the internal model representation.
.multiGroupSEMFromLavaan(
lavaanModels,
whichPars = "est",
fit = TRUE,
addMeans = TRUE,
transformations = NULL,
transformationList = list(),
transformationGradientStepSize = 1e-06
)
Object of class Rcpp_mgSEMCpp
vector with lavaan models
which parameters should be used to initialize the model. If set to "est", the parameters will be set to the estimated parameters of the lavaan model. If set to "start", the starting values of lavaan will be used. The latter can be useful if parameters are to be optimized afterwards as setting the parameters to "est" may result in the model getting stuck in a local minimum.
should the model be fitted
If lavaanModel has meanstructure = FALSE, addMeans = TRUE will add a mean structure. FALSE will set the means of the observed variables to the average
string with transformations
list for transformations
step size used to compute the gradients of the transformations