getMIX_TVC.info {nlpsem} | R Documentation |
This function constructs the OpenMx model paths and parameters for a TVC and its relationship with the parameters related to growth factors of a longitudinal outcome.
getMIX_TVC.info(nClass, y_var, records, growth_TIC, TVC, decompose, starts)
nClass |
An integer specifying the number of classes for the mixture model or multiple group model. It takes the value
passed from |
y_var |
A string specifying the prefix of the column names corresponding to the outcome variable at each study wave.
It takes the value passed from |
records |
A numeric vector specifying the indices of the observed study waves. It takes the value passed from |
growth_TIC |
A string or character vector specifying the column name(s) of time-invariant covariate(s) that account for the
variability of growth factors, if any. Default is |
TVC |
A string specifying the prefix of the column names corresponding to the time-varying covariate at each study wave. It
takes the value passed from |
decompose |
An integer specifying the decomposition option for temporal states. Supported values include |
starts |
A list of initial values for the parameters, either takes the value passed from |
A list with each sub-list containing a list of OpenMx paths and parameters for the TVC and an OpenMx path for the state effect of the TVC on the corresponding longitudinal outcome.