| data.manag.surv {FlexVarJM} | R Documentation |
Management of survival data
Description
Management of survival data
Usage
data.manag.surv(formGroup, formSurv, data.long1, formSurv_CompRisk)
Arguments
formGroup |
A formula which indicates the group variable |
formSurv |
A formula which indicates the variables used in the survival submodel |
data.long1 |
Database |
formSurv_CompRisk |
A formula which indicates the variables used in the competing survival submodel |
Value
A list with the following components :
tmpthe final database for survival analysis
Timea vector of observed times
event1a vector of first event indicator
nTimelength of Time vector
Zmatrix of covariables of first survival submodel
event2a vector of second event indicator
Z_CRmatrix of covariables of second survival submodel
[Package FlexVarJM version 0.1.0 Index]