View source: R/data.manag.surv.R
data.manag.surv | R Documentation |
Management of survival data
data.manag.surv(formGroup, formSurv, data.long1, formSurv_CompRisk)
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 |
A list with the following components :
tmp
the final database for survival analysis
Time
a vector of observed times
event1
a vector of first event indicator
nTime
length of Time vector
Z
matrix of covariables of first survival submodel
event2
a vector of second event indicator
Z_CR
matrix of covariables of second survival submodel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.