Last chance! 50% off unlimited learning
Sale ends in
cox.resid(model)
coxph
model.coxph
# 'kidney' dataset of package 'survival'
require(survival)
data(kidney)
model <- coxph(Surv(time,status)~age+factor(sex),data=kidney)
cox.resid(model)
Run the code above in your browser using DataLab