pairsetinval {SlaPMEG} | R Documentation |
Estimating initial values for paired slapmeg based on seperate lme models
Description
A seperate lme model is fited per omic in the pathway and the estimates are combined based on the indexes
of pairs to create initial values for the pairslapmeg
function.
Usage
pairsetinval(index, fixed, random, subject, data)
Arguments
index |
Indexes of pairs used for replacing the parameters in the jopint model |
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 list of vectors, each including vector of initial values corresponding to pairs based on the index file. These vectors will be used as input for multlcmm function of each paired model.
Author(s)
Mitra Ebrahimpoor m.ebrahimpoor@lumc.nl