powered by
This function computes Global Cox-Snell and randomized quantile residuals for objects of class MCR.
MCR
# S3 method for MCR residuals(object, type = c("cox-snell", "quantile"), ...)
A numeric vector of residuals.
An object of class MCR, typically returned from MCRfit.
MCRfit
Type of residual.
Additional arguments (not used).
data(liver) names(liver) model <- MCRfit( survival::Surv(time, status) ~ age + medh + relapse + grade | sex + age + medh + grade, data = liver ) summary(residuals(model,type="quantile"))
Run the code above in your browser using DataLab