initial.long | R Documentation |
Initialisation of Longitudinal Submodel
initial.long(formFixed, formRandom, idVar, data.long1, ncX, nproc = nproc)
formFixed |
A formula which indicates the fixed effects for the longitudinal submodel |
formRandom |
A formula which indicates the random effects for the longitudinal submodel |
idVar |
A character, indicates the name of the group variable |
data.long1 |
A dataframe with the longitudinal data |
ncX |
An integer, the number of columns of matrix X, ie, the number of fixed effects |
nproc |
An integer, the number of cores for parallel computation |
A list with the following components :
long_model
the result of the hlme function
priorMean.beta
the estimated parameters for fixed effects in the linear mixed effects model
sigma
the estimated sigma of the model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.