View source: R/UNI.addpara_helper.R
getUNI.addpara | R Documentation |
This function derives additional parameters for latent change score models. In particular, it specifies the means and variances of interval-specific slopes, interval-specific changes, and values of change- from-baseline.
getUNI.addpara(
dat,
curveFun,
intrinsic = NULL,
t_var,
records,
growth_TIC,
decompose,
starts
)
dat |
A wide-format data frame, with each row corresponding to a unique ID. It contains the observed variables
with repeated measurements and occasions, and time-invariant covariates (TICs) if any. It takes the value passed from
|
curveFun |
A string specifying the functional form of the growth curve. Supported options for latent change score
models include: |
intrinsic |
A logical flag indicating whether to build an intrinsically nonlinear longitudinal model. It takes the
value passed from |
t_var |
A string specifying the prefix of the column names corresponding to the time variable at each study wave.
It takes the value passed from |
records |
A numeric vector specifying indices of the 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) contributing
to the variability of growth factors if any. It takes the value passed from |
decompose |
An integer specifying the decomposition option for temporal states. Supported values include |
starts |
A list containing initial values for the parameters, either takes the value passed from |
A list containing the specification of the means and variances of interval-specific slopes, interval-specific changes, and values of change-from-baseline for latent change score models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.