Skip to contents

Gastric cancer data used the the Moreau paper

Usage

data("gastric")

Format

A data frame with 90 observations on the following 3 variables.

time

follow-up time

status

0=censored, 1= event

treat

a factor with levels chemo and chemo+radiation

Note

The usege 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::gastric or data(cancer, package="survival") can be used.

References

Moreau,T., O'Quigley,J., and Mesbah M(1985). A global goodness-of-fit statistic for the proportional hazards model, Appl. Statist., 34, 212-218

Examples

gfit <- coxph(Surv(time, status) ~ treat, gastric)
#> Error: object 'gastric' not found
cox.zph(gfit)
#> Error: object 'gfit' not found