View source: R/a_models_ml_tsdlvm1.R
ml_tsdlvm1 | R Documentation |
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. The ml_ts_lvgvar
simply sets within_latent = "ggm"
and between_latent = "ggm"
by default. The ml_gvar
and ml_var
are simple wrappers with different named defaults for contemporaneous and between-person effects.
ml_tsdlvm1(data, beepvar, idvar, vars, groups, estimator = "FIML",
standardize = c("none", "z", "quantile"), ...)
ml_ts_lvgvar(...)
ml_gvar(..., contemporaneous = c("ggm", "cov", "chol", "prec"),
between = c("ggm", "cov", "chol", "prec"))
ml_var(..., contemporaneous = c("cov", "chol", "prec", "ggm"),
between = c("cov", "chol", "prec", "ggm"))
data |
The data to be used. Must be raw data in long format (each row indicates one person at one time point). |
beepvar |
Optional string indicating assessment beep per day. Adding this argument will cause non-consecutive beeps to be treated as missing! |
idvar |
String indicating the subject ID |
vars |
Vectors of variables to include in the analysis |
groups |
An optional string indicating the name of the group variable in |
estimator |
Estimator to be used. Must be |
standardize |
Which standardization method should be used? |
contemporaneous |
The type of within-person latent contemporaneous model to be used. |
between |
The type of between-person latent model to be used. |
... |
Arguments sent to |
Sacha Epskamp <mail@sachaepskamp.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.