Survival in patients with advanced lung cancer from the North Central Cancer Treatment Group. Performance scores rate how well the patient can perform usual daily activities.
data(lung)A data frame containing 228 observations on 10 variables.
Institution code
Survival time in days
censoring status 1=censored, 2=dead
Age in years
Male=1 Female=2
ECOG performance score as rated by the physician. 0=asymptomatic, 1= symptomatic but completely ambulatory, 2= in bed < 50% of the day, 3= in bed > 50% of the day but not bedbound, 4 = bedbound
Karnofsky performance score (bad=0-good=100) rated by physician
Karnofsky performance score as rated by patient
Calories consumed at meals
Weight loss in last six months (pounds)
Terry Therneau. (2021). survival: Survival Analysis. R package version 3.4-2. https://CRAN.R-project.org/package=survival
This dataset is sourced from the survival package.
Loprinzi CL. Laurie JA. Wieand HS. Krook JE. Novotny PJ. Kugler JW. Bartel J. Law M. Bateman M. Klatt NE. et al. Prospective evaluation of prognostic variables from patient-completed questionnaires. North Central Cancer Treatment Group. Journal of Clinical Oncology. 12(3):601-7, 1994.
lung for the original dataset in the survival package
data(lung)
summary(lung)
#> inst time status age
#> Min. : 1.00 Min. : 5.0 Min. :1.000 Min. :39.00
#> 1st Qu.: 3.00 1st Qu.: 166.8 1st Qu.:1.000 1st Qu.:56.00
#> Median :11.00 Median : 255.5 Median :2.000 Median :63.00
#> Mean :11.09 Mean : 305.2 Mean :1.724 Mean :62.45
#> 3rd Qu.:16.00 3rd Qu.: 396.5 3rd Qu.:2.000 3rd Qu.:69.00
#> Max. :33.00 Max. :1022.0 Max. :2.000 Max. :82.00
#> NA's :1
#> sex ph.ecog ph.karno pat.karno
#> Min. :1.000 Min. :0.0000 Min. : 50.00 Min. : 30.00
#> 1st Qu.:1.000 1st Qu.:0.0000 1st Qu.: 75.00 1st Qu.: 70.00
#> Median :1.000 Median :1.0000 Median : 80.00 Median : 80.00
#> Mean :1.395 Mean :0.9515 Mean : 81.94 Mean : 79.96
#> 3rd Qu.:2.000 3rd Qu.:1.0000 3rd Qu.: 90.00 3rd Qu.: 90.00
#> Max. :2.000 Max. :3.0000 Max. :100.00 Max. :100.00
#> NA's :1 NA's :1 NA's :3
#> meal.cal wt.loss
#> Min. : 96.0 Min. :-24.000
#> 1st Qu.: 635.0 1st Qu.: 0.000
#> Median : 975.0 Median : 7.000
#> Mean : 928.8 Mean : 9.832
#> 3rd Qu.:1150.0 3rd Qu.: 15.750
#> Max. :2600.0 Max. : 68.000
#> NA's :47 NA's :14