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_longa clean dataframe for the longitudinal data
y.new.progthe vector of responses variable
Xa matrix with the fixed effects
Ua matrix with the random effects
ida vector with the identification of individuals
offseta vector with the number of measurements for each individual
Ian integer, the number of individuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.