Skip to contents

Randomised trial of two treatment regimens for lung cancer. This is a standard survival analysis data set.

Usage

veteran

Format

trt:1=standard 2=test
celltype:1=squamous, 2=smallcell, 3=adeno, 4=large
time:survival time
status:censoring status
karno:Karnofsky performance score (100=good)
diagtime:months from diagnosis to randomisation
age:in years
prior:prior therapy 0=no, 10=yes

Note

The usage above assumes that the survival package is attached via library(survival) or via another package that depends on survival, e.g., mstate. If not, then either survival::veteran can be used or data(cancer, package="survival").

Source

D Kalbfleisch and RL Prentice (1980), The Statistical Analysis of Failure Time Data. Wiley, New York.