residuals.smoothSurvReg {smoothSurv}R Documentation

Residuals for Objects of Class 'smoothSurvReg'

Description

Compute residuals for the fitted model.

Usage

## S3 method for class 'smoothSurvReg'
residuals(object, ...)

Arguments

object

Object of class smoothSurvReg.

...

Argument included in the function parameters for the compatibility with the generic function.

Value

A dataframe with columns named res, res2 and censor where the column res2 is included only if there are any interval censored observations. Column res contains all residuals, column res2 is applicable only for interval censored observations. Column censor gives the type of censoring (0 for right censoring, 1 for exact observations, 2 for left censoring and 3 for interval censoring).

Author(s)

Arnošt Komárek arnost.komarek@mff.cuni.cz

See Also

smoothSurvReg


[Package smoothSurv version 2.6 Index]