Learn R Programming

smoothSurv (version 2.6)

residuals.smoothSurvReg: Residuals for Objects of Class 'smoothSurvReg'

Description

Compute residuals for the fitted model.

Usage

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

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).

Arguments

object

Object of class smoothSurvReg.

...

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

Author

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

See Also

smoothSurvReg