residuals.gamcox {MapGAM} | R Documentation |
Residuals of the gamcox
Object
Description
This function provides residuals of a gamcox object produced by gamcox
.
Usage
## S3 method for class 'gamcox'
residuals(object,...)
Arguments
object |
a |
... |
. |
Author(s)
Lu Bai
Send bug reports to sbartell@uci.edu.
See Also
modgam
gamcox
,
predict.gamcox
.
Examples
data(CAdata)
fit <- gamcox(Surv(time,event)~lo(X,Y)+AGE+INS,data=CAdata, span = 0.2)
residuals(fit)
[Package MapGAM version 1.3 Index]