Learn R Programming

coxphw (version 4.0.3)

gastric: Gastric Cancer Data

Description

A data set of survival times of patients with locally advanced, nonresectable gastric carcinoma. The patients were either treated with chemotherapy plus radiation or chemotherapy alone.

Usage

data(gastric)

Arguments

Format

A data frame with 90 observations on the following 4 variables:

id

unique patient id.

radiation

treatment of either 0 = chemotherapy alone or 1 = chemotherapy plus radiation.

time

survival time in days.

status

0 = censored or 1 = death.

References

Gastrointestinal Tumor Study Group. (1982) A Comparison of Combination Chemotherapy and Combined Modality Therapy for Locally Advanced Gastric Carcinoma. Cancer 49:1771-7.

Examples

Run this code
data("gastric")
plot(survfit(Surv(time, status) ~ radiation, data = gastric), lty = 1:2, las = 1,
     xscale = 365.25, xlab = "time (years)", ylab = "survival distribution function")

coxphw(Surv(time, status) ~ radiation, data = gastric, template = "AHR")

Run the code above in your browser using DataLab