View source: R/data.manag.long.R
data.manag.long | R Documentation |
Management of longitudinal data
data.manag.long(formGroup, formFixed, formRandom, data.long1)
formGroup |
A formula which indicates the group variable |
formFixed |
A formula which indicates the fixed effects for the longitudinal submodel |
formRandom |
A formula which indicates the random effects for the longitudinal submodel |
data.long1 |
A dataframe with the longitudinal data |
A list with the following components :
data_long
a clean dataframe for the longitudinal data
y.new.prog
the vector of responses variable
X
a matrix with the fixed effects
U
a matrix with the random effects
id
a vector with the identification of individuals
offset
a vector with the number of measurements for each individual
I
an integer, the number of individuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.