This function specifies the factor loadings for a mixture model with MGM as submodels. The longitudinal outcomes are fit by Latent Growth Curve Models or a Latent Change Score Models.
getMIX_MULTI.loadings(
nClass,
y_model,
t_var,
y_var,
curveFun,
intrinsic = NULL,
records
)
A list containing the specification of definition variables (i.e., individual measurement occasions) and factor loadings of multivariate longitudinal outcomes.
A numeric value to indicate the number of latent classes.
A character string specifying how to fit the longitudinal outcome. Supported values are "LGCM" and "LCSM". It takes the value passed from `getMIX()`.
t_var A character vector where each element represents a prefix for column names corresponding to the time variables for the respective longitudinal process. It takes the value passed from `getMIX()`.
A character vector where each element represents a prefix for column names corresponding to the outcome variables for the respective longitudinal process. It takes the value passed from `getMIX()`.
The specified functional form of the growth curve. Supported options include: "linear" (or "LIN"), "quadratic" (or "QUAD"), "negative exponential" (or "EXP"), "Jenss-Bayley" (or "JB"), "bilinear spline" (or "BLS"), and "nonparametric" (or "NonP"). It takes the value passed from `getMIX()`.
A boolean flag for whether an intrinsically nonlinear longitudinal model is built up. It takes the value passed from `getMIX()`.
A list of numeric vectors where each vector contains indices of the observed time points for the respective longitudinal processes. It takes the value passed from `getMIX()`.