residuals.spbp: BP based models residuals.

Description Usage Arguments See Also Examples

View source: R/survivor.R

Description

Residuals for a fitted spbp model.

Usage

1
2
## 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

1
2
3
4
5
6
7
library("spsurv")
data("veteran")

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

residuals(fit)

spsurv documentation built on April 14, 2020, 7:20 p.m.