residuals.spbp {spsurv} | R Documentation |
Residuals for a fitted spbp
model.
## S3 method for class 'spbp'
residuals(object, type = c("cox-snell"), ...)
object |
an object of class 'spbp' result of a |
type |
type of residuals, default is "cox-snell" |
... |
further arguments passed to or from other methods |
spbp
.
library("spsurv")
data("veteran")
fit <- bpph(Surv(time, status) ~ karno + factor(celltype),
data = veteran)
residuals(fit)