This function is a wrapper around dlvm1
that allows for specifying the model using a long format data and similar input as the mlVAR
package.
ml_tsdlvm1(data, beepvar, idvar, vars, groups, estimator = "FIML",
standardize = c("none", "z", "quantile"), ...)ml_ts_lvgvar(...)
The data to be used. Must be raw data in long format (each row indicates one person at one time point).
Optional string indicating assessment beep per day. Adding this argument will cause non-consecutive beeps to be treated as missing!
String indicating the subject ID
Vectors of variables to include in the analysis
An optional string indicating the name of the group variable in data
.
Estimator to be used. Must be "FIML"
.
Which standardization method should be used? "none"
(default) for no standardization, "z"
for z-scores, and "quantile"
for a non-parametric transformation to the quantiles of the marginal standard normal distribution.
Arguments sent to dlvm1