R Dataset / Package survival / veteran


On this Picostat.com 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. 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


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




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


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


Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-25346.csv 3.82 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0