residuals.spbp {spsurv}R Documentation

BP based models residuals.

Description

Residuals for a fitted spbp model.

Usage

## S3 method for class 'spbp'
residuals(object, type = c("cox-snell"), ...)

Arguments

object

an object of class 'spbp' result of a spbp fit.

type

type of residuals, default is "cox-snell"

...

further arguments passed to or from other methods

See Also

spbp.

Examples


library("spsurv")
data("veteran")

fit <- bpph(Surv(time, status) ~ karno + factor(celltype),
data = veteran)

residuals(fit)


[Package spsurv version 1.0.0 Index]