Compute residuals for the fitted model.
# S3 method for smoothSurvReg
residuals(object, ...)
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).
Object of class smoothSurvReg.
Argument included in the function parameters for the compatibility with the generic function.
Arnošt Komárek arnost.komarek@mff.cuni.cz
smoothSurvReg