View source: R/residuals.smoothSurvReg.R
| residuals.smoothSurvReg | R Documentation |
Compute residuals for the fitted model.
## S3 method for class 'smoothSurvReg'
residuals(object, ...)
object |
Object of class smoothSurvReg. |
... |
Argument included in the function parameters for the compatibility with the generic function. |
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).
Arnošt Komárek arnost.komarek@mff.cuni.cz
smoothSurvReg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.