data.time {FlexVarJM} | R Documentation |
Management of data for longitudinal submodel
Description
Management of data for longitudinal submodel
Usage
data.time(data.id, Time, formFixed, formRandom, timeVar)
Arguments
data.id |
A dataframe |
Time |
A vector of Time of events |
formFixed |
A formula for the fixed effects of the longitudinal submodel |
formRandom |
A formula for the random effects of the longitudinal submodel |
timeVar |
The name of the column of time in data.id. This variable must appears in data.id |
Value
A list with the following components
Xtime
a matrix of fixed effects at each time of measure
Utime
a matrix of random effects at each time of measure
[Package FlexVarJM version 0.1.0 Index]