| liver | R Documentation |
A randomized control trial in which both survival and longitudinal data were collected to examine the development of prothrombin index over time and its relationship with the survival outcome. 488 patients were randomly allocated to prednisone (251) or placebo (237) and followed until death or end of the study.
A data frame with 2968 observations on the following 9 variables.
IDpatient ID, there are 488 patients in total.
Timesurvival time, i.e. time to death or censoring.
deathdeath indicator: 0 denotes censoring; 1 denotes death.
obstimetime points at which the longitudinal measurements, i.e. prothrombin index, are recorded.
prothprothrombin index measured at obstime.
Trttreatment indicator with two levels: placebo and prednisone.
startsame with obstime, starting time of the interval which contains the time of the prothrombin index measurement.
stopending time of the interval which contains the time of the prothrombin index measurement.
eventevent indicator suggesting whether the event-of-interest, i.e. death, happens in the interval given by start and stop.
Andersen, P. K., Borgan O., Gill, R. D. and Kieding, N. (1993) Statistical Models Based on Counting Processes. New York: Springer.
Henderson, R., Diggle, P. and Dobson, A. (2002) Identification and efficacy of longitudinal markers for survival. Biostatistics 3, 33–50
liver.long,
liver.surv
head(liver)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.