R Dataset / Package survival / veteran
On this R-data statistics page, you will find information about the veteran data set which pertains to Veterans' Administration Lung Cancer study. The veteran data set is found in the survival R package. You can load the veteran data set in R by issuing the following command at the console data("veteran"). This will load the data into a variable called veteran. If R says the veteran data set is not found, you can try installing the package by issuing this command install.packages("survival") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the veteran R data set. The size of this file is about 3,914 bytes.
Veterans' Administration Lung Cancer study
Description
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, 1=yes |
Source
D Kalbfleisch and RL Prentice (1980), The Statistical Analysis of Failure Time Data. Wiley, New York.
Dataset imported from https://www.r-project.org.