setinval {SlaPMEG} | R Documentation |
Estimating initial values for slapmeg based on seperate lme models
Description
A seperate lme model is fited per omic in the pathway and the estimates are combined to create
initial values for the slapmeg
function.
Usage
setinval(fixed, random, subject, data)
Arguments
fixed |
A two-sided linear formula object for specifying the
fixed-effects in the linear mixed model at the latent process level. Names
of omics in the pathway are separated by |
random |
A one-sided formula for the random-effects in the
latent process mixed model and starts with the |
subject |
name of the covariate representing the repeated measures structure such as subject IDs. |
data |
data frame containing the variables named in |
Value
A vector of initial values to be used as input for multlcmm function
Author(s)
Mitra Ebrahimpoor