residuals.coxex: Extended residuals of a coxex object.

View source: R/oop_coxex.R

residuals.coxexR Documentation

Extended residuals of a coxex object.

Description

Retrieves model residuals and predicted values. A wrapper around augment.

Usage

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

## S3 method for class 'coxex'
resid(object, ...)

Arguments

object

a coxex object.

...

additional arguments passed to get_cox_qc.

Value

a data frame with the predicted values, residuals and expected normal values for the residuals.

References

  • Therneau, T. M. & Grambsch, P. M. Modeling Survival Data: Extending the Cox Model. (Springer Verlag, 2000).


PiotrTymoszuk/coxExtensions documentation built on Feb. 6, 2024, 10:58 p.m.