View source: R/MIX_MULTI.addpara_helper.R
getMIX_MULTI.addpara | R Documentation |
This function derives additional parameters for mixture model with multivariate latent change score models as submodels. It specifies the means and variances of interval-specific slopes, interval-specific changes, and values of change-from- baseline.
getMIX_MULTI.addpara(
dat,
nClass,
t_var,
records,
y_var,
curveFun,
intrinsic = NULL,
starts
)
dat |
Data frame. Contains the observed variables, including repeated measurements and occasions, and covariates if any. It takes the value passed from 'getMIX()'. |
nClass |
Numeric. Indicates the number of latent classes. It takes the value passed from 'getMIX()'. |
t_var |
String. Prefix of the column names corresponding to the time variable at each time point. It takes the value passed from 'getMIX()'. |
records |
Numeric vector. Indices of the observed time points. It takes the value passed from 'getMIX()'. |
y_var |
String. Prefix of the column names corresponding to the outcome variable at each time point. It takes the value passed from 'getMIX()'. |
curveFun |
String. The 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()'. |
intrinsic |
Logical. Whether an intrinsically nonlinear longitudinal model is built up. It takes the value passed from 'getMIX()'. |
starts |
A list of initial values for free parameters, either takes the value passed from 'getMIX()' or derived by the helper function 'getMIX.initial()'. |
A list containing the specification of the means and variances of interval-specific slopes, interval-specific changes, and values of change-from-baseline for a mixture model with multivariate latent change score models as submodels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.