
Last chance! 50% off unlimited learning
Sale ends in
fit <- coxph(Surv(futime, fustat) ~ age + ecog.ps,
data=ovarian)
temp <- cox.zph(fit)
print(temp) # display the results
plot(temp) # plot curves
Run the code above in your browser using DataLab